[Serusers] Logging with SER

Sebastien Pierre sebastien.pierre at sxb.bsf.alcatel.fr
Wed Feb 19 17:07:07 CET 2003


Hi all,

I finally found solutions to my problem:

1) It is easier when setting "fork=no" because then ser does not
daemonise and stderr is then attached to the terminal in which I started
ser

2) The configuration file should set a debugging level ("set debug=1"),
and use a number equal or lower to the debug level in the log, like
'log(0, "Hello World")'

So my HelloWorld.cfg is as follows:

<snip>
debug=0
log_stderror=yes
fork=no
route[0]
{ 
	log(0, "Hello World!");
}
</snip>

And it works with "ser -f HelloWorld.cfg"

Cheers,

  -- Sebastien





More information about the sr-users mailing list