Re: [Networker] Viewing daemon.log
2011-12-12 16:54:34
[] >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.
Even easier, modify the NSR log resource for daemon.raw, and set 'runtime
rendered log' to '/nsr/logs/daemon.log'; NetWorker renders the logs for you,
automatically, in real time.
tl
nsradmin -p nsrexecd
Command: Select [Next] Prev Edit Create Delete Options Quit
1 of 2 (on labhydra.backup)
type: NSR log;
administrator: root, "user=root,host=labhydra.backup";
owner: NetWorker;
maximum size MB: 2;
maximum versions: 10;
runtime rendered log: /nsr/logs/daemon.log;
name: daemon.raw;
log path: /nsr/logs/daemon.raw;
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
|
|
|