dbus user existance checking.
Pat Suwalski
pat at suwalski.net
Sun Apr 11 08:17:38 EST 2004
Havoc Pennington wrote:
> Hi,
>
> At least for the systemwide daemon, this sort of message probably
> belongs in syslog...
Right. So, would it make sense to change the _dbus_warn() function to
dump to syslog as well as vfprintf?
The attached (trivial) patch adds super-simple syslog functionality to
the _dbus_warn() function. Personally, I like the way it works. It dumps
warnings to syslog even if no command-line debug variables are set. It
would certainly make it easier for people just starting out with this
stuff to play. The patch also adds a check for syslog.h in configure.in.
--Pat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-syslog.diff.gz
Type: application/x-tar
Size: 637 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040410/5a45321b/patch-syslog.diff.tar
More information about the dbus
mailing list