You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its work for LOG, but not work for FILENAME
Example: 05:34:17,071665 INFO 1: Program Started
It create /tmp/logs/Ferti.20231011_%session.log not /tmp/logs/Ferti.20231011_1.log
I need separate log file for new program run.
The text was updated successfully, but these errors were encountered:
Thanks for this. The custom format specifier are only supported for the log message and not for the filenames as far as I remember.
Feel free to add a PR though. The code you or whoever works on it (i will do it if i get a chance) will be touching TypedConfigurations::resolveFilename in easyloggingpp.cc file.
If you work on this, please tag me in a comment in PR.
I use such setup flow:
test_conf.conf
Its work for LOG, but not work for FILENAME
Example:
05:34:17,071665 INFO 1: Program Started
It create /tmp/logs/Ferti.20231011_%session.log not /tmp/logs/Ferti.20231011_1.log
I need separate log file for new program run.
The text was updated successfully, but these errors were encountered: