Re: how to see what hylafax is doing.. live
Bodo Meissner <[email protected]>
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Antonio Lapira <[email protected]>: > for example with efax, when I give the command to send fax, I get > this output (so I can make my log file, for example number.log) > while using sendfax (hylafax client) I don't get the log as this [...] I don't know efax, so I cannot compare it with HylaFAX. I guss you will not find a drop-in replacement. The sendfax program submits a job to the HylaFAX server and will exit when it has done this. It can only tell you if it has successfully submitted the job or not. It will not wait until the server starts or finishes processing the job. The server will probably send your fax immediately if this is possible, but it may also have to wait for an unknown time until the necessary resources are ready. If HylaFAX has a full queue of jobs it may process your current job hours after submission and if something goes wrong it will wait some time before retrying the job. > efax live log example: [...] This log looks similar to what HylaFAX writes to syslog. I think it is very difficult to reproduce the behavior of efax with HylaFAX. I suggest you should think about your requirements. What information (from an abstract point of view) do you need in a logfile? What do you want to do with the logfile? Do you need this live information for your daily work or only for an initial phase until you trust HylaFAX to do its job? HylaFAX calls a notify script when it has processed (or tried to process) a job. This script is designed to be customized by calling etc/FaxNotify when present. You can create or modify etc/FaxNotify to collect information from various places and create files as needed. Information what HylaFAX is doing at the moment like which job/file is being processed, which data is sent to or received from the modem is written to syslog. You can configure your syslog to collect this information and write it to specific destinations. (Maybe you need an improved syslog like syslog-ng.) If you temporarily want to see this information you can use something like "tail -f /var/log/syslog | fgrep -i fax" (This simple will stop working when your system rotates the log files.) Bodo ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe [email protected] < /dev/null *To learn about commercial HylaFAX(tm) support, mail [email protected].*