]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
[Bug 136] log file content enhancement
authorDarren Nickerson <darren.nickerson@ifax.com>
Thu, 31 May 2001 02:28:07 +0000 (02:28 +0000)
committerDarren Nickerson <darren.nickerson@ifax.com>
Thu, 31 May 2001 02:28:07 +0000 (02:28 +0000)
Applied Bernd's fix to add hylafax version and device to syslog entries

faxd/FaxSend.c++

index e8ef593255f62cf4e7f32741569a8eb6f07149fe..933d29beb10f6c9d809e51c784e0a8a61cc4cc60 100644 (file)
@@ -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 =