Actions
Bug #246
closedlog files end in .log even when log_format doesn't include an extension
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2011-09-05
Due date:
% Done:
0%
Estimated time:
Patch Available:
No
Found in Versions:
Confirmed:
No
Branch:
Security:
No
Help Needed:
Description
In my bip.conf I configured the log format like this:
log_format = "%Y/%n/%c";
So, the log files should end up with names like "$log_root/2011/mynetwork/#mychannel". But it automatically adds a .log to the end, even though I configured it not to. I'd like to make bip respect the config value instead of partially overriding it.
Updated by Loïc Gomez over 2 years ago
- Status changed from New to Resolved
After checking BIP's behavior, setting log_format to "%Y/%n/%c" will result in files without .log suffix.
Only bip's main logfile itself has .log suffix.
$ find logs/ -type f
logs/bip.log
logs/2022/libera/kyoshiro
logs/2022/libera/nickserv
logs/2022/libera/#supertestchannel
Could not find in git log any related change though.
Resolving anyways.
Actions