On Tue, Dec 12, 2006, Marcus Better wrote:
> I retract my previous proposal, and propose instead to send the initial
> messages to the syslog. That would be logical for a daemon.
So, something like:
start_daemon | while read line; do mylog $line; done
with:
mylog() { logger -p ... $* }
But it might as well support *both* console and syslog, perhaps via
LSB (console output can be made less verbose via configuration):
. /lib/lsb/init-functions
mylog() {
logger -p ... $*
log_action_begin_msg $*
log_action_end_msg
}
--
Loïc Minier <[EMAIL PROTECTED]>
"I have no strong feelings one way or the other." -- Neutral President
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers