Am 2012-01-16 21:55, schrieb JoergSorge:
Am 16.01.2012 21:38, schrieb Niels Dettenbach (Syndicat IT&Internet):logfile_archive="/home/xy/darkice-xy-$(date +'%y-%m-%d-%H-%M-%S').log"This is not typical for logging under unix as such things usually are done by newsyslog or logrotate - on a opeating system or distribution level.yes, I agree and I also rather use logrotate. But how can I "separate" the error-messages, to stop/ start darkice on the right time? Regards, Jörg
I read http://code.google.com/p/darkice/source/browse/darkice/trunk/rc.darkice - this does not lend itself to rotating by the system, as the log file is kept open all the time.
Also there seems to be a typo in line 56, concerning redirection of stderr, s/%/&/.
Then, this does not help you, Jörg, with running multiple darkice instances, but I remember you wrote, that you need that - do you really encode several different sources in parallel?
-- peter