Re: [Networker] Viewing daemon.log
2011-12-12 16:51:09
On 13/12/2011, at 8:35 AM, bingo wrote:
> I hope you already have a daemon.raw file. In this case it is pretty easy to
> achieve:
>
> nsr_render_log -S start_date -E end_date daemon.raw > output_file
>
> like
>
> nsr_render_log -S 12/02/20111 -E 12/03/2011 daemon.raw > output_file
>
> BTW - i do this every day by running a task/cron job - this makes your life
> much easier than searching in a file of some hundred MB.
Of course, you could also turn on runtime log rendering of the daemon log - if
you're rendering it every day, why not render it simultaneously? Details at the
link below:
http://nsrd.info/blog/2009/07/28/basics-–-realtime-rendered-logs-and-other-log-options/
(I've had a few people say they're worried about the performance or capacity
implications of doing this - if the system is that borderline on capacity or
performance, there's bigger issues at hand.)
Cheers,
Preston.
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|