05-28-2012 11:37 PM
Hello,
I can't seem to find an answer to the difference between diagnostic level and debug level parametres in unified logging. Can anyone explain it to me?
Kind regards,
Juan
Solved! Go to Solution.
05-29-2012 12:16 AM
The default log levels are diag 6 an debug 1.
When NBU writes to the log file, certain lines are only written it the debug level or diag level is set high enough.
Example from nbpem log
This line is a Diag line and will be written to the log, providing the Diag level is set to at least 1.
The line type (Debug or Diag) is defined in the NBU code.
Simply, Dubug lines are more for troubleshooting, and show more 'error' related messages.
Diag should always be left at 6, Debug can be reduced to make the logs smaller, and increaesd for troubleshooting.
There is no way of telling what level you increase it to for a given issue, unless you run the logs and see what level particular lines are set to, or happen to know through experience.
vxlogview commands should always be run ..
vxlogview -p 51216 -i <oid> -d all ...
Martin
05-29-2012 12:16 AM
The default log levels are diag 6 an debug 1.
When NBU writes to the log file, certain lines are only written it the debug level or diag level is set high enough.
Example from nbpem log
This line is a Diag line and will be written to the log, providing the Diag level is set to at least 1.
The line type (Debug or Diag) is defined in the NBU code.
Simply, Dubug lines are more for troubleshooting, and show more 'error' related messages.
Diag should always be left at 6, Debug can be reduced to make the logs smaller, and increaesd for troubleshooting.
There is no way of telling what level you increase it to for a given issue, unless you run the logs and see what level particular lines are set to, or happen to know through experience.
vxlogview commands should always be run ..
vxlogview -p 51216 -i <oid> -d all ...
Martin
05-29-2012 12:23 AM
Martin,
you're the man ;)
thanks for your prompt answer. It's clarified my question perfectly.
Regards,
Juan