mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
Merge pull request #1090 from psychocrypt/fix-logNotContainsAllMessages
fix missing message in log file
This commit is contained in:
@@ -627,6 +627,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
if(strlen(jconf::inst()->GetOutputFile()) != 0)
|
||||
printer::inst()->open_logfile(jconf::inst()->GetOutputFile());
|
||||
|
||||
if (!BackendConnector::self_test())
|
||||
{
|
||||
win_exit();
|
||||
@@ -672,9 +675,6 @@ int main(int argc, char *argv[])
|
||||
else
|
||||
printer::inst()->print_msg(L0,"Start mining: AEON");
|
||||
|
||||
if(strlen(jconf::inst()->GetOutputFile()) != 0)
|
||||
printer::inst()->open_logfile(jconf::inst()->GetOutputFile());
|
||||
|
||||
executor::inst()->ex_start(jconf::inst()->DaemonMode());
|
||||
|
||||
uint64_t lastTime = get_timestamp_ms();
|
||||
|
||||
Reference in New Issue
Block a user