[PATCH] fix logging if HAL run in daemon mode

David Zeuthen david at fubar.dk
Wed Oct 26 11:22:04 PDT 2005


On Mon, 2005-10-24 at 22:32 +0200, Danny Kukawka wrote:
> Hi,
> 
> this patch fix logging for HAL in daemon mode. For this I added a new command 
> line option '--use-syslog' to write log messages to syslog 
> (/var/log/messages) instead of stderr.
> 
> I moved the first debug message in hald.c to reduce double check the same 
> variable and removed unneed empty function(-call) in logger.* and hald.c to 
> reduce useless code.
> 
> Please review.

Looks good, thanks!

Cheers,
David




More information about the hal mailing list