mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add audit log file
This commit is contained in:
parent
5412a584f4
commit
fdcb038e77
4 changed files with 120 additions and 27 deletions
|
|
@ -1063,6 +1063,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||
if (fPrintToDebugLog)
|
||||
OpenDebugLog();
|
||||
|
||||
if (fPrintToAuditLog)
|
||||
OpenAuditLog();
|
||||
|
||||
if (!fLogTimestamps)
|
||||
LogPrintf("Startup time: %s\n", DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()));
|
||||
LogPrintf("Default data directory %s\n", GetDefaultDataDir().string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue