logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ebersole, Steven" <steven.ebers...@vignette.com>
Subject RE: Log4sh?
Date Wed, 04 Sep 2002 13:47:46 GMT
We actually handle this by:
1) having log4j configured to use the ConsoleAppender;
2) piping/directing output from the shell script (including the console
output from log4j) into a file.

Works pretty well.

    |-----Original Message-----
    |From: Steve Cohen [mailto:SteveC@ignitesports.com]
    |Sent: Wednesday, September 04, 2002 8:44 AM
    |To: 'Log4J Users List' (E-mail)
    |Subject: Log4sh?
    |I have a process that runs 3 java programs in succession 
    |plus some other stuff, within a shell script kicked off by 
    |a cron job.  All three java programs log to the same log4j 
    |file.  Is there something I can run in the shell script 
    |itself to route the raw shell script output to the same 
    |file as well?
    |Steve Cohen
    |Sr. Software Engineer
    |Ignite Sports, Inc.

To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message