Re: large and growing log files

2007-01-02 Thread Shawn
On Tuesday 02 January 2007 16:33, Arden wrote: > What utility would you recommend to rotate and cleanup log files? Is > everyone scripting their own with cron? where do I find the > daily,weekly, monthly periodic scripts? > > This all seems to be a given in all the distribut

Re: large and growing log files

2007-01-02 Thread Arden
On Jan 2, 2007, at 4:19 PM, [EMAIL PROTECTED] wrote: >> What utility would you recommend to rotate and cleanup log files? Is >> everyone scripting their own with cron? where do I find the >> daily,weekly, monthly periodic scripts? >> >> This all seems to be a give

Re: large and growing log files

2007-01-02 Thread dperkins
> What utility would you recommend to rotate and cleanup log files? Is > everyone scripting their own with cron? where do I find the > daily,weekly, monthly periodic scripts? > > This all seems to be a given in all the distributions and google > doesn't turn up anything that

large and growing log files

2007-01-02 Thread Arden
What utility would you recommend to rotate and cleanup log files? Is everyone scripting their own with cron? where do I find the daily,weekly, monthly periodic scripts? This all seems to be a given in all the distributions and google doesn't turn up anything that helpful in the firs

Re: log files

2006-01-07 Thread IraqiGeek
On Sunday, January 08, 2006 12:34 AM GMT, Tim van der Molen <[EMAIL PROTECTED]> wrote: IraqiGeek wrote: Any other ideas? Running syslogd and klogd in debugging mode (-d) might prove helpful. Regards, Tim Already done that, anything specific to look for when doing that? I wasnt getting any

Re: log files

2006-01-07 Thread Tim van der Molen
IraqiGeek wrote: Any other ideas? Running syslogd and klogd in debugging mode (-d) might prove helpful. Regards, Tim -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: log files

2006-01-07 Thread IraqiGeek
wrong? Delete the touched files. Syslogd is quite capable of creating the files if they don't already exist. It does it for everyone the first time we boot into LFS. Andy Nothing. I removed the empty log files, restarted, and even injected a few messages with logger, but no log files were creat

Re: log files

2006-01-07 Thread Andrew Benton
IraqiGeek wrote: Syslog was working fine until I deleted kern.log sys.log and boot.log. I created those files again with touch, but now the system doesnt log anything to those files. What has gone wrong? Delete the touched files. Syslogd is quite capable of creating the files if they don't al

Re: log files

2006-01-07 Thread IraqiGeek
after removing and touching the log files? Restarted over a dozen times since deleting and creating the files, the syslogd is running. How does your /etc/syslog.conf file look? I just realized yesterday that I hadn't been logging anything for two weeks when I accidentally overwrote it

Re: log files

2006-01-07 Thread Dan Nicholson
On 1/7/06, IraqiGeek <[EMAIL PROTECTED]> wrote: > On Saturday, January 07, 2006 11:07 PM GMT, > Tim van der Molen <[EMAIL PROTECTED]> wrote: > > Have you restarted syslogd (or have you rebooted) after removing and > > touching the log files? > > Restarted o

Re: log files

2006-01-07 Thread IraqiGeek
h, but now the system doesnt log anything to those files. What has gone wrong? Have you restarted syslogd (or have you rebooted) after removing and touching the log files? Restarted over a dozen times since deleting and creating the files, the syslogd is running. Any other ideas? You could al

Re: log files

2006-01-07 Thread Tim van der Molen
restarted syslogd (or have you rebooted) after removing and touching the log files? You could also try to imitate the logging of the LFS boot scripts and see what happens: /bin/logger -p local2.info -t bootlog "this is a test" Another thing I want to do is dump all the kernel boot message

log files

2006-01-07 Thread IraqiGeek
Hi all, I am running LFS 6.1 (with the option of booting 2.6.15 or 2.6.11.12). Syslog was working fine until I deleted kern.log sys.log and boot.log. I created those files again with touch, but now the system doesnt log anything to those files. What has gone wrong? Another thing I want to do

RE: Rotating log files

2005-08-18 Thread David Fix
> Yea, pretty funny, eh? :) > > ~Jason Definitely. :) Man pages usually have something like that in there. :) Anyhow, I couldn't find lumberjack for download, so I opted for a simple logrotate available at http://iain.cx/src/logrotate/. That worked for me. :) Dave -- http://linuxf

Re: Rotating log files

2005-08-18 Thread Jason Gurtz
On 8/18/2005 09:17, David Fix wrote: > Thanks Jason, I'd never heard of lumberjack before, but upon investigation, > I had to smile at the man page: Yea, pretty funny, eh? :) ~Jason -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.htm

RE: Rotating log files

2005-08-18 Thread David Fix
> There's logrotate and also, I've used lumberjack which worked ok. > > ~Jason Thanks Jason, I'd never heard of lumberjack before, but upon investigation, I had to smile at the man page: --- BUGS Probably signals syslogd more than it should. Hardcodes several paths for syslog.pid and gzip. Each

Re: Rotating log files

2005-08-18 Thread Jason Gurtz
On 8/18/2005 08:52, David Fix wrote: > Hey folks, any quick hints on how to rotate my logfiles? :) I can't remember > how it was done in the past. :( There's logrotate and also, I've used lumberjack which worked ok. ~Jason -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: htt

RE: Rotating log files

2005-08-18 Thread David Fix
> Hey folks, any quick hints on how to rotate my logfiles? :) I > can't remember > how it was done in the past. :( You know what? I just remembered. :P Logrotate. :) I'll look around and find something for it. :) Dave -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FA

Rotating log files

2005-08-18 Thread David Fix
Hey folks, any quick hints on how to rotate my logfiles? :) I can't remember how it was done in the past. :( Dave -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page