Message: previous - next
Month: September 2012

Reducing xession log spew

From: Darrell Anderson <humanreadable@...>
Date: Tue, 4 Sep 2012 14:33:09 -0700 (PDT)
What is a good way to address xsession log spew? Many messages are helpful for debugging, but under normal usage clutters the xsession log.

The messages should be toggled by the user as needed. Some examples:

[tdeinit] Got EXEC_NEW....

[tdeinit] PID xxxx terminated.

[tdeinit] Got SETENV....

[tdeinit] xxxx is executable and not a library. Launching with exec.

When I look at these messages in kinit.cpp I notice they are fprintf(stderr) messages and many are conditional, based upon #ifndef NDEBUG. Is NDEBUG a compile-time variable (meaning "No debug"), or is this variable configurable during run-time as an environment variable?

What options exist to reduce this spew?