axkibe/lsyncd — Issue #100: -log Exec doesn't seem to work
Author: caldwell
Created: 2011-11-21 10:07:56+00:00
State: open

I get no logging with I specify the "-log Exec" option on the command line, even though lsyncd appears to be running rsync (the main functionality seems to be working great).

Looking at the code it looks like it's because "settings.log_level" gets set to LOG_WARNING and then the "Exec" priority gets set to LOG_INFO. Later on the code checks for "check_logcat("Exec") >= settings.log_level" which is going to be false and so the "Exec" log isn't output. Should the normal "settings.log_level" be set to LOG_INFO so these categories can work?