HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] hfaxd logging



Daniel L. Miller wrote:
How can I turn off logging hfaxd standard operation? Everytime faxstat is called, four lines appear in my daemon.log:

Dec 7 17:57:07 foxy HylaFAX[5874]: Looks like extended syntax: "|1|192.168.0.10|53785|" [7C: |]
Dec 7 17:57:07 foxy HylaFAX[5874]: `-> Got a: 192.168.0.10[16]
Dec 7 17:57:07 foxy HylaFAX[5874]: `-> Got a: 53785[22]
Dec 7 17:57:07 foxy HylaFAX[5874]: Parsed: Family 1 Address 192.168.0.10 Port 53785


I've tried changing ServerTracing in /usr/local/lib/fax/hfaxd.conf - I can get MORE information, but even setting it to 0 does not stop the logging. How do i KILL IT?!

Apparently you've configured your syslog to send debug messages to your daemon.log file. The messages you quote there are hfaxd debug messages.


So, in your syslog.conf file you must have some line that says:

*.debug /var/log/daemon.log

If you didn't want debug messages from other applications, then you could just change /var/log/daemon.log there to /dev/null (or probably comment-out the line altogether) and then restart syslog. However, assuming you do want debug messages from other applications (but just not HylaFAX), then you'd add a line before the one starting "*.debug" to say:

daemon.debug /dev/null

This will dump the hfaxd messages while preserving your other debug messages. (I've not been successful in getting the "LogFacility" configuration item to work.)

Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions