Vxlogcfg for unified logs
Hello VoXers,
I am curious about a 'bug' that we have using vxlogcfg command to set or disable logging for ALL oids.
when we use the below command, it won't modify the debuglevel to the desired level, the command passes ( no error) but it doesn't return the expected output as : The configuration settings were added successfully.
[root@master1~]# vxlogcfg -a -p 51216 -o 117 -s DebugLevel=1
The configuration settings were added successfully.
[root@master1~]# vxlogcfg -a -p 51216 -o ALL -s DebugLevel=1
[root@master1~]#
and we can see through nblog.file that the debuglevel didn't change for all OID as it should be, it only changes it for the Default.DebugLevel:
[root@master1~]# cat /usr/openv/netbackup/nblog.conf | grep -i debug
Default.DebugLevel=1
# VxUL performs the correct mapping from ALL to DebugLevel
111.DebugLevel=1
117.DebugLevel=1
137.DebugLevel=1
156.DebugLevel=1
222.DebugLevel=1
486.DebugLevel=1
512.DebugLevel=0
[root@master1~]# vxlogcfg -a -p 51216 -o ALL -s DebugLevel=6
[root@master1~]# cat /usr/openv/netbackup/nblog.conf | grep -i debug
Default.DebugLevel=6
# VxUL performs the correct mapping from ALL to DebugLevel
111.DebugLevel=1
117.DebugLevel=1
137.DebugLevel=1
156.DebugLevel=1
222.DebugLevel=1
486.DebugLevel=1
512.DebugLevel=0
[root@master1 ~]#
I have tried this for other versions too : 8.0, 8.2 & 8.3.0.1 on Linux & Windows.
I couldn't find any vox/article regarding this, has anyone faced this problem before? is Veritas aware of this bug?
Personnally I don't use the -o ALL, I always put the desired OID but I think a lot of people use ALL and maybe they don't check nblog.conf to confirm that the change has been taken into account or not and it may cause disk space issues on big infrastructures.
Thanks,
Kind regard | Hamza
Thanks !

