I have some code I have been debugging that does a rte_panic() at some point. 
The problem is it just appeared to exit without printing the panic message. I 
tracked it down to rte_vlog() doing the following test.

 if ((level > rte_logs.level) || !(logtype & rte_logs.type))
      return 0;

The reason it appears to just exit to the shell is I was setting ?log-level 0 
on the command line, which means no CRIT, EMERG or ALERTs panic messages are 
printed. If I set the log-level 3 then I am able to see these ?critical? panic 
messages, is this the expected behavior?

I would expect EMERG, ALERT and CRIT messages to be printed regardless of the 
log-level value, but I guess it just means log-level 3 is the lowest level 
unless you really do not want these messages printed.


Regards,
Keith




Reply via email to