[PATCH] add support for --use-syslog to prober and addons

Danny Kukawka danny.kukawka at web.de
Fri May 5 08:58:27 PDT 2006


Hi,

this patch add support for the hald option --use-syslog to emit debug messages 
to syslog if the haldaemon run with --verbose=yes. This should allow have all 
debug output together in /var/log/messages if hal run in daemon mode, which 
IMO allow a easier debugging. If --use-syslog isn't used, nothing changed.

Please review.

Cheers,

Danny

 ChangeLog                             |   27 ++++++++++++++++++++++++
 hald/hald_runner.c                    |    4 +++
 hald/linux2/addons/addon-acpi.c       |    3 --
 hald/linux2/addons/addon-hid-ups.c    |    4 ++-
 hald/linux2/addons/addon-pmu.c        |    3 --
 hald/linux2/addons/addon-storage.c    |   11 +++------
 hald/linux2/addons/addon-usb-csr.c    |    5 +---
 hald/linux2/probing/probe-input.c     |    3 --
 hald/linux2/probing/probe-pc-floppy.c |    4 ---
 hald/linux2/probing/probe-printer.c   |    5 +---
 hald/linux2/probing/probe-serial.c    |    4 ---
 hald/linux2/probing/probe-smbios.c    |    5 +---
 hald/linux2/probing/probe-storage.c   |    3 --
 hald/linux2/probing/probe-volume.c    |    3 --
 hald/linux2/probing/shared.h          |   17 ++++++++++++++-
 15 files changed, 67 insertions(+), 34 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add-debug_to_syslog_probing_v3.diff
Type: text/x-diff
Size: 12234 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060505/6d97f48b/hal-add-debug_to_syslog_probing_v3-0001.bin


More information about the hal mailing list