By default NetWorker logs all information into a .raw (unrendered) log. This log can be rendered using the nsr_render_log command: https://www.dell.com/support/kbdoc/000022793/
NetWorker has the following nsrlog resources and configuration settings:
[root@networker-mc]:~# nsradmin -p nsrexecd
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> show name; maximum size MB; maximum versions; runtime rendered log; runtime rollover by size; log path
nsradmin> print type: nsr log
maximum size MB: 500;
maximum versions: 5;
runtime rendered log: /opt/lgtonmc/logs/gstd.log;
runtime rollover by size: Enabled;
name: gstd.raw;
log path: /opt/lgtonmc/logs/gstd.raw;
maximum size MB: 500;
maximum versions: 5;
runtime rendered log: /nsr/logs/daemon.log;
runtime rollover by size: Enabled;
name: daemon.raw;
log path: /nsr/logs/daemon.raw;
maximum size MB: 500;
maximum versions: 10;
runtime rendered log: ;
runtime rollover by size: Disabled;
name: nsrim.raw;
log path: /nsr/logs/nsrim.raw;
maximum size MB: 500;
maximum versions: 10;
runtime rendered log: ;
runtime rollover by size: Disabled;
name: adhoc-job-YWkeZF;
log path: /nsr/tmp/adhoc/adhoc-job-YWkeZF;
maximum size MB: 500;
maximum versions: 10;
runtime rendered log: ;
runtime rollover by size: Disabled;
name: adhoc-job-xJqhz8;
log path: /nsr/tmp/adhoc/adhoc-job-xJqhz8;
nsradmin>
Perform the following on for the "nsr log" resources you want to enable runtime rendering:
Linux:
[root@networker-mc ~]# nsradmin -p nsrexecd
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> . type: nsr log; name: daemon.raw
Current query set
nsradmin> update runtime rendered log: /nsr/logs/daemon.log
runtime rendered log: /nsr/logs/daemon.log;
Update? y
updated resource id 15.0.191.109.0.0.0.0.160.9.116.98.10.240.192.221(2)
nsradmin> print
type: NSR log;
administrator: root,
"user=nsrnmc,host=networker-mc.emclab.local",
"user=root,host=networker-mc.emclab.local";
owner: NetWorker;
maximum size MB: 500;
maximum versions: 10;
runtime rendered log: /nsr/logs/daemon.log;
runtime rollover by size: Disabled;
runtime rollover by time: ;
name: daemon.raw;
log path: /nsr/logs/daemon.raw;
Note: The log path shown is expected default; however another location can be specified.
The maximum size in MB can also be extended (minimum 500 MB and maximum 4000 MB), The maximum versions (number of copies) can be increased or decreased, and the runtime rollover by size can be Enabled.
Restart services, once services have been restarted the real-time log rendering will begin:
systemctl restart networker
Windows:
C:\Users\Administrator.EMCLAB>nsradmin -p nsrexecd
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> . type: nsr log; name: daemon.raw
Current query set
nsradmin> update runtime rendered log: "C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log"
runtime rendered log: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log";
Update? y
updated resource id 12.0.188.19.0.0.0.0.234.2.36.96.10.240.192.117(6)
nsradmin> print
type: NSR log;
administrator: Administrators,
"group=Administrators,host=winsrvr2k12.emclab.local";
owner: NetWorker;
maximum size MB: 2;
maximum versions: 10;
runtime rendered log: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log";
runtime rollover by size: Disabled;
runtime rollover by time: ;
name: daemon.raw;
log path: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.raw";
Note: The log path shown is expected default; however another location can be specified. \\ are required for specifying Windows folder paths. If a single \ is used the log file will not be generated.
The maximum size in MB can also be extended (minimum 500 MB and maximum 4000 MB), The maximum versions (number of copies) can be increased or decreased, and the runtime rollover by size can be Enabled.
Restart services, once services have been restarted the real-time log rendering will begin:
If system is a client only:
net stop nsrexecd /y
net start nsrexecd
If system is a NetWorker server:
net stop nsrexecd /y
net start nsrd
If system contains NMC server, GST services will need to be started:
net start gstd