From: Darren Nickerson Date: Thu, 31 May 2001 02:28:07 +0000 (+0000) Subject: [Bug 136] log file content enhancement X-Git-Tag: HYLAFAX-4_1RC1~11 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4044eb9640bdff4a97e348f8aed938f7f594cb08;p=thirdparty%2FHylaFAX.git [Bug 136] log file content enhancement Applied Bernd's fix to add hylafax version and device to syslog entries --- diff --git a/faxd/FaxSend.c++ b/faxd/FaxSend.c++ index e8ef5932..933d29be 100644 --- a/faxd/FaxSend.c++ +++ b/faxd/FaxSend.c++ @@ -45,12 +45,14 @@ FaxServer::sendFax(FaxRequest& fax, FaxMachineInfo& clientInfo, FaxAcctInfo& ai) u_int prevPages = fax.npages; if (lockModem()) { beginSession(fax.number); + traceServer("%s", HYLAFAX_VERSION); fax.commid = getCommID(); // set by beginSession traceServer("SEND FAX: JOB %s DEST %s COMMID %s" , (const char*) fax.jobid , (const char*) fax.external , (const char*) fax.commid ); + traceServer("DEVICE '%s'", (const char*) getModemDevice()); if (setupModem()) { changeState(SENDING); IOHandler* handler =