Thanks for your patch. This is now in today's version.
However, due to space constraints, I changed it so that the code is only active for the standalone command-line version (for usage on an image-server), but not on the embedded (bootable) version, which would not have a syslog facility anyways.
Thanks,
Alain
On Friday 15 October 2004 16:49, Ramon Bastiaans wrote:
Hi all,
I don't know if this should be applied to the source tree, but perhaps some people will find this patch useful (I know we do).
We wanted some additional logging from udpcast to debug our casting sessions, because it seems that the only thing logged to its logfile is messages like this:
"Doubling slice size to 1024"
We also prefer syslog in stead of the separate file for logging
So I wrote this little patch.
It logs more information (very usefull for udpcast's running in the background on a image server) and it logs it to syslog.
Information being logged:
- New connections
- Why a cast starts (is min clients reached or max wait passed, etc)
- Transfer start (+ what file,pipe,port,if,participants)
- Transfer complete
- Disconnects
See attached .patch
Kind regards,
-- Ramon Bastiaans SARA - Academic Computing Services Kruislaan 415 1098 SJ Amsterdam