Bug#402603: tomcat5.5: blocks on startup until log pipe is read

Loïc Minier lool at dooz.org
Tue Dec 12 11:09:51 UTC 2006

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
    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 $*

Loïc Minier <lool at dooz.org>
 "I have no strong feelings one way or the other." -- Neutral President

More information about the pkg-java-maintainers mailing list