irc-bot icon indicating copy to clipboard operation
irc-bot copied to clipboard

Different log files per channel and flags

Open ivptr opened this issue 4 years ago • 4 comments

It would be nice to be able to define separate log files per channel and flags, similar to Eggdrop: http://www.eggheads.org/support/egghtml/1.6.18/egg-core.html#sect1c

For example:

logfile mco * "logs/eggdrop.log"
logfile jpk #lamest "logs/lamest.log"

ivptr avatar Dec 26 '20 20:12 ivptr

That's interesting... in theory modules are powerful enough so that one can be written for this purpose, on the other hand integrating a more flexible logging system into the core directly might allow easier separation of not only channel messages but also per-module log files or more separated output if they opt in to this.

NanoSector avatar Dec 27 '20 00:12 NanoSector

I find this feature very important, because it is very hard to browse log files with bunch of things inside.

Also would like to log 10 channels separately.

Want to use WildPHP to migrate from eggdrop and nice logging is incorporated in the core there.

ivptr avatar Dec 27 '20 09:12 ivptr

I'm out of time for today and have a busy week next week, but I definitely want to look into this soon.

NanoSector avatar Dec 27 '20 15:12 NanoSector

Awesome. Also noticed that Eggdrop logs are much more readable: http://layer-acht.org/fai-irc/fai.log.20070727

Anyway, many thanks for the prompt fixes!

ivptr avatar Dec 27 '20 17:12 ivptr