Page 1 of 1
ircd.log
Posted: Tue Aug 30, 2005 9:42 pm
by burntToast
Hello there, please forgive me if this is a newb question
We have got unreal ircd installed and working great, but to our supprise
we found that it is logging all server activity in ircd.log
We would prefer if we could turn logging off, is there a way to turn it off?
There dosnt seem to be an option for logging in unrealircd.conf
Thanks in advance
BurntToast
Posted: Tue Aug 30, 2005 10:28 pm
by Stealth
Unreal logs to ircd.log by default when there is no log block in the conf. I do not think there is a way to turn this off, but you can make a log block and have it log something that doesn't happen too often (such as kills or errors).
Thanks
Posted: Tue Aug 30, 2005 10:35 pm
by burntToast
Hi
thanks for that
I set the max file size as 1 byte and only to log spamfilter
I changed the log block to
log "ircd.log" {
/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
same log */
maxsize 1;
flags {
/*
oper;
kline;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
*/
spamfilter;
};
};
thanks for your help
BurntToast
Posted: Tue Aug 30, 2005 10:40 pm
by Syzop
What a horrible solution.. You should have a log block for ircd.log that only logs errors, if you are not interested in the rest.
Else you will really have trouble later on...
Posted: Tue Aug 30, 2005 10:52 pm
by burntToast
you are right! the last thing we want is problems later on!
I set the max file size to 1mb and logged errors only
log "ircd.log" {
/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
same log */
maxsize 1048576;
flags {
/*
oper;
kline;
connects;
server-connects;
kills;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
*/
errors;
};
};
thanks
BurntToast
Posted: Thu Sep 01, 2005 8:48 pm
by salama
i'm not sure if it is a good solution but if you want to turn logging completely off, wouldn't "ln -sf /dev/null ircd.log"help?
Posted: Thu Sep 01, 2005 11:51 pm
by Jason
Your wrong
You dont want to disable logging completely
You want to log errors. I dont care what you think, you ALWAYS want to log errors.
If you dont want to log errors, just done have any.