Edit syslog logger code after gabime's reviews.