Le Lundi 11 Septembre 2006 06:27, Jerome Alet a écrit :
> On Mon, Sep 11, 2006 at 09:50:04AM +0700, Donny Christiaan wrote:
> > Here is the tail -f /var/log/message contain jasmine log.

Yes, /var/log/message is nearly equivalent to /var/log/syslog... But look 
at this :

> > Sep 11 09:44:32 ltsp jasmine[18899]: Warning: Debug mode is
> > activated, you should turn it off when going to production ! To do
> > so, set $debug to 0 in the /usr/lib/cups/backend/jasmine perl script.
> > Sep 11 09:44:34 ltsp jasmine[18899]: User 'edp0donny' printed 147
> > pages on printer 'FOPrinter'

It misses all the 'debug' messages. We need them ;-). Try to put such a 
line in your /etc/syslog/conf and restart syslogd :

*.*;auth,authpriv.none                                -/var/log/syslog

Or if this kind of line is already present (nearly same beginning), look 
at the end of the line to see where the messages go.

> > Here is the tail -f /var/log/cups/page_log:
> > FOPrinter edp0donny 8791 [11/Sep/2006:09:44:33 +0700] 1 1 - localhost
> > FOPrinter edp0donny 8791 [11/Sep/2006:09:44:33 +0700] 1 1 - localhost
>
> Is there a way in Jasmine to keep the print job's datas in a file
> on disk ?

Yes, i've added such a system in 0.0.3, in order to feed you with "strange 
files" ;-). The problem is the files are only kept if Pkpgcounter or 
MySQL insertion fails... So in this case I think the tempfile will have 
been deleted :-(

> I'd like to be able to analyze such a file.

You may have plenty when 0.0.3 goes into production here (work).

> Or if you print from windows, just print to file, then send the file
> to me along with the real number of pages in contains.

You mean when printing from Windows, the file is sent in its final 
version, and CUPS does not modify it ?





-- 
Put JASmine in your Cups !

To unsubscribe :
  mailto:[EMAIL PROTECTED]
List archives :
  http://dir.gmane.org/gmane.comp.printing.jasmine.user
  http://www.mail-archive.com/jasmine%40ml.free.fr/
Web site :
  http://jasmine.berlios.de/



Reply via email to