Issue #2081115 by deneo, areke, mrsinguyen: Remove Unused local variables from the syslog module.