[vls-devel] CVS Commit (jpsaman)

cvs at videolan.org cvs at videolan.org
Mon Sep 30 11:39:30 CEST 2002

Update of /var/cvs/videolan/vls
Modified Files:
	Makefile Makefile.opts.in configure configure.in 

Update of /var/cvs/videolan/vls/doc
Modified Files:

Update of /var/cvs/videolan/vls/src/core
Modified Files:

Update of /var/cvs/videolan/vls/src/server
Modified Files:
	manager.cpp vls.cpp vls.h 
Added Files:
	daemon.cpp daemon.h 

Log Message:
Starting vls server with name "vlsd" will start process in Daemon mode. If running as daemon configure vls (in vls.cfg)  to use system logging, because all terminal stdin, stdout and stderr are sent into oblivian (see code in C_Daemon::DaemonCloseTerminal()). Thus the process is detached from the launching terminal and becomes a child from the init process. 

Please test Win32 port with this patch to make sure I did not break anything!!

- dvbinput, dvdreader, filereader  and ps2ts uses printf() a lot, these should use the vls builtin log functionality instead. Currently when running in daemon mode all output goes to /dev/null, thus not showing up in system log at all!.
- In general use buitin logging instead of printf() from now on.

This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vls-devel mailing list