ircd.log

These are old archives. They are kept for historic purposes only.
Post Reply
burntToast
Posts: 3
Joined: Tue Aug 30, 2005 9:36 pm

ircd.log

Post 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
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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).
burntToast
Posts: 3
Joined: Tue Aug 30, 2005 9:36 pm

Thanks

Post 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
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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...
burntToast
Posts: 3
Joined: Tue Aug 30, 2005 9:36 pm

Post 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
salama
Posts: 34
Joined: Sun Jun 19, 2005 8:27 am

Post 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?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply