Open Kuzma30 opened 11 months ago
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.
Yes, I have the same problem
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.logI need separate log file for new program run.