Descriptionlaptop-mode-tools: only log VERBOSE msgs to syslog when DEBUG is enabled
VERBOSE msgs are almost universally useless but were being sent through
syslog where they were being tossed with our default config. This
resulted in >600 context switches to just drop the log msgs. Avoid
this overhead by making them condition on DEBUG.
BUG=8087
TEST=sh -x /usr/sbin/laptop_mode auto force and notice tons of logger calls
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=9b7ebd6
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|