02-04-2014 06:02 PM
Hi,
Unified logs are getting creating automatically even log folders removed and changed log level from "5" to "0".
Netbackup version : 7.5.0.4
Windows : 2008R2 servers
Thanks &Regards,
Solved! Go to Solution.
02-04-2014 08:28 PM
yes.. unified logs will get created automaically and it can not be stopped... only thing we can do is to reduce the debug and diagonisting level for unified log.
and also you can automate the log recycle... where you can choose howmany log files or Size you want to keep.. anything more than that will get deleted automatically.
To enable log recycling as the default for all NetBackup originators run:
# vxlogcfg -a -p 51216 -o Default -s LogRecycle=true
./vxlogcfg -a -p 51216 -o Default -s NumberOfLogFiles=5
the above commands will recyle any unified logs which is having more than 5 files each of 50 MB, depends on your space avaliablity you can change these values.
see the below tech notes to enable the unified log recyle.
http://www.symantec.com/docs/TECH44292
http://www.symantec.com/docs/TECH44244
02-04-2014 08:24 PM
Hi,
How did you change the log level? Sometimes running vxlogcfg doesn't work you have to modify the logging cofiguration file?
Does vxlogcfg output show the level is set to 0?
Did you recycle the services?
02-04-2014 08:28 PM
yes.. unified logs will get created automaically and it can not be stopped... only thing we can do is to reduce the debug and diagonisting level for unified log.
and also you can automate the log recycle... where you can choose howmany log files or Size you want to keep.. anything more than that will get deleted automatically.
To enable log recycling as the default for all NetBackup originators run:
# vxlogcfg -a -p 51216 -o Default -s LogRecycle=true
./vxlogcfg -a -p 51216 -o Default -s NumberOfLogFiles=5
the above commands will recyle any unified logs which is having more than 5 files each of 50 MB, depends on your space avaliablity you can change these values.
see the below tech notes to enable the unified log recyle.
http://www.symantec.com/docs/TECH44292
http://www.symantec.com/docs/TECH44244
02-04-2014 08:53 PM
I have changed the log level from 5 to 0 using vxlogcfg and recycled the services, rebooted the server as well, but no luck. Unified logs is generating 2 MB size log file for every minit.
02-04-2014 08:55 PM
so did you set the log recyle yet? using the vxlogcfg...
02-04-2014 09:31 PM
Please remember that there is NO need to restart NBU or the server to apply changes to Unified Logging.
Please show us contents of the config file: <install-path>\veritas\netbackup\nblog.conf
Copy the file to nblog.txt and upload as File Attachment.
02-04-2014 11:27 PM
Manually modifing the file can break it, but in the event it has to be done, NBU services should be stopped first.