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



On 12/7/2010 11:45 PM, Lee Howard wrote:
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

Thanks, Lee!


My current installation (Ubuntu Karmic) uses syslog-ng. The default configuration has everything for the daemon facility logged to the daemon.log file. Also daemon is included in the debug.log file. To resolve this, I've changed two lines in /etc/syslog-ng/syslog-ng.conf:

filter f_daemon { facility(daemon); };
  becomes
filter f_daemon { facility(daemon) and not level(debug); };

and then to keep debug clear:
filter f_debug { level(debug) and not facility(auth, authpriv, news, mail); };
becomes
filter f_debug { level(debug) and not facility(auth, authpriv, news, mail, daemon); };


anyone using xconsole would need a bit more work in that filter as well.

Hope this finds its way into a google search archive - probably more than one person looking for this. I don't understand why these messages can't be turned off within Hylafax - but I'll take my working fax server and just say, "Thank You" for everything it does and happily install the current workaround.

I think what really makes these messages an issue are clients that provide constant status updates using the faxstat utility - like Avantfax. Every 15 seconds it polls the server - which means those messages just keep on popping up in the logs. I would suggest adding an entry to your "howto" section of the website describing the issue and this workaround - if it was a wiki I'd do it for you.
--
Daniel



____________________ 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