[modules/log.cpp] Duplicate output issue to users on module loading #290

Closed
opened 2026-10-05 04:10:26 +02:00 by adam · 1 comment
Owner

When loading the log module, the following is an example of output:

<*status> Loaded module [log] Logging to [/home/teward/.znc/users/test/moddata/log/$NETWORK_$WINDOW_%Y%m%d.log].[Logging to [/home/teward/.znc/users/test/moddata/log/$NETWORK_$WINDOW_%Y%m%d.log].] [/usr/lib/znc/log.so]

This is bad output, and needs to be modified to not display this twice.

When loading the `log` module, the following is an example of output: ``` <*status> Loaded module [log] Logging to [/home/teward/.znc/users/test/moddata/log/$NETWORK_$WINDOW_%Y%m%d.log].[Logging to [/home/teward/.znc/users/test/moddata/log/$NETWORK_$WINDOW_%Y%m%d.log].] [/usr/lib/znc/log.so] ``` This is bad output, and needs to be modified to not display this twice. <!-- github-sync-id:26138398 -->
adam closed this issue 2026-10-05 04:10:26 +02:00
Author
Owner

Looks like this was fixed in 5206e71bdb

<*status> Loaded module [log] Logging to [/home/kindone/.znc/users/KindOne/networks/foobar/moddata/log/$WINDOW/%Y-%m-%d.log]. [/usr/local/lib/znc/log.so]

Looks like this was fixed in 5206e71bdbcf3598db71671ed6130387cd6a67c7 `<*status> Loaded module [log] Logging to [/home/kindone/.znc/users/KindOne/networks/foobar/moddata/log/$WINDOW/%Y-%m-%d.log]. [/usr/local/lib/znc/log.so]` <!-- github-comment-id:59613117 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#290