[rsyslog-notify] Forum Thread: Re: messages are missing from the log - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Tue Apr 8 13:19:45 CEST 2014


User: awolfson 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24506#p24506

Message: 
----------
David,

I looked at the syslog() source
<!-- m --><a class="postlink"
href="http://fossies.org/dox/glibc-2.19/misc_2syslog_8c_source.html">http://fossies.org/dox/glibc-2.19/misc_
... ource.html</a><!-- m -->
And the socket path is hardcoded as /dev/log
So for that testing I can do my own socket programming, but the end goal is
to have our program working.
It is C++ with the wrapper around openlog(), syslog() calls. openlog() is
used only once.
So looks like I would have to reimplement openlog() with /dev/reallog
socket, which seems to be trivial, but weird.
Can you suggest a better approach  ?

Thanks

Alex Wolfson


More information about the rsyslog-notify mailing list