Le samedi 26 juin 2010 18:29:37, vous avez écrit :
> Regarding syslog, I'm happily surprised to see more people interested.
> But help us design it: do you necessarily want labels (INFO, WARN,
> etc) or would you be happy with the current all-INFO patch? How to
> distinguish different liquidsoap instances: PID, name of the script?
The latest patch will use the name of the executed program. If liquidsoap is
used as an interpreter against the script, then I think the name of the script
will be printed, otherwise it will be liquidsoap. Also the PID is added:
let conf_program =
Conf.string ~p:(conf_syslog#plug "program")
~d:(Filename.basename Sys.executable_name)
"Name of the program."
And:
let program =
Printf.sprintf "%s[%d]" conf_program#get (Unix.getpid ())
in
Romain
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users