Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Different log files per channel and flags #164

Open
ivptr opened this issue Dec 26, 2020 · 4 comments
Open

Different log files per channel and flags #164

ivptr opened this issue Dec 26, 2020 · 4 comments

Comments

@ivptr
Copy link

ivptr commented Dec 26, 2020

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"
@NanoSector
Copy link
Member

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.

@ivptr
Copy link
Author

ivptr commented Dec 27, 2020

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.

@NanoSector
Copy link
Member

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

@ivptr
Copy link
Author

ivptr commented Dec 27, 2020

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants