ircd.log limit doubt

These are old archives. They are kept for historic purposes only.
Post Reply
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

ircd.log limit doubt

Post by JIVXor »

When I set a limit to ircd.log, simply it finishes recording? or erase from the beginning of the file the old logs?
I have not had time to prove this, my file has much so huge. I need to setup a limit to this file, but I don't know how it works.

¿?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »


log::maxsize is an optional directive that allows you to specify a size that the log file will be wiped and restarted .


Got it. For me it would be better than it erased of the begining, or simply create a new file. Now I will have to check it every day.

Thanks a lot.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

I use newsyslogd (man newsyslog.conf) to rotate my unreal logs. It keeps a weeks worth.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply