mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-28 06:28:38 +01:00
fix missing message in log file
initialize the log file as fast as possible after the start of the miner
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