i can't change the format of log filename #200

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

if i pass an argument to the log module that's will be a directory and not a filename.

LoadModule = log $WINDOW_%Y%m%d.log

.
.
.
Loading user module [log]... Logging to [/home/znc/.znc/users/test/moddata/log/$WINDOW_%Y%m%d.log/$NETWORK_$WINDOW_%Y%m%d.log].[Logging to [/home/znc/.znc/users/test/moddata/log/$WINDOW_%Y%m%d.log/$NETWORK_$WINDOW_%Y%m%d.log].] [./znc-1.0/modules/log.so]
Forking into the background... [pid: 22063]
ZNC 1.0 - http://znc.in

if i pass an argument to the log module that's will be a directory and not a filename. LoadModule = log $WINDOW_%Y%m%d.log . . . Loading user module [log]... Logging to [/home/znc/.znc/users/test/moddata/log/$WINDOW_%Y%m%d.log/$NETWORK_$WINDOW_%Y%m%d.log].[Logging to [/home/znc/.znc/users/test/moddata/log/$WINDOW_%Y%m%d.log/$NETWORK_$WINDOW_%Y%m%d.log].] [./znc-1.0/modules/log.so] Forking into the background... [pid: 22063] ZNC 1.0 - http://znc.in <!-- github-sync-id:11098379 -->
adam closed this issue 2026-10-05 04:04:05 +02:00
Author
Owner

/msg *status loadmod --type=network log

`/msg *status loadmod --type=network log` <!-- github-comment-id:13703639 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#200