Commit Graph
2 Commits
Author SHA1 Message Date
JoeandGitHub d27addc694 Update LogConfigurator.cs
The part of filename "{DateTime.Now:yyyy-dd-M--HH-mm-ss}-{Process.GetCurrentProcess().Id}" generates tons of log files with same content but different per-second/thread filenames until the harddisk have 0KB space left. This kept happening in my AWS EC2 machine until I found the big GBs-size log file in temp folder caused by this line.

Changing the filename to $"{DateTime.Now:yyyy-MM-dd}.{LogFileNameExtension}" solved the issue. The timestamp and processId can still be found in the log content.
2021-07-11 17:07:23 +08:00
JoeandGitHub 879a907c5c Fix: error-checking condition was inverted.
Similar to previously fix on Ln 5359 in void Execute_SymbolInfoString() by hectorli #173 update IF checking (commit 26de553 on 27 Aug 2019), same error-checking condition was also inverted in Ln 2948 in void Execute_iBandsOnArray().
2021-01-30 17:29:58 +08:00