I searched the archive online for "swallowOutput", and there were zero
results. What is it? Where do I implement it? Is this part of the
Java code or part of the Tomcat server.xml? Give me a hint here; if I
knew how to do this, I wouldn't have asked for help!
--
John Beamon
Systems Administrator
Franklin American Mortgage Co.
em: jbeamon@franklinamerican.com
Tim Funk wrote:
> You could use the swallowOutput attribute. Look in the docs or archives
> for more info on it. IIRC, that should do what you need.
>
> But the better way is to use log4j or similar. Logging packages similar
> to log4j are sweet since you can turn up or down the debugging per
> class. (That is, if you added the trace/debug/info/warn/error statements)
>
> -Tim
>
> John Beamon wrote:
>
>> I've got John and Bob working on the same project under a cvs tree
>>
>> $APPS/john/project/
>> $APPS/bob/project/
>>
>> I set up Contexts for each of those projects, each with a Logger for
>> logging to separate per-user directories.
>>
>> logs/john/project.log
>> logs/bob/project.log
>>
>> During Tomcat startup, the construction of each app goes to these two
>> logs. Every action performed by these two apps, though, appends to
>> catalina.out. All the database calls, all the processing to produce
>> pages, all the stuff these two developers NEED to see goes into a
>> combined
>> log.
>>
>> First, is there something more specific I can do with a standard Logger
>> statement or some other system-out collector? Second, is something like
>> log4j my only recourse, something that will require my developers to go
>> back and integrate it into their apps? There must be somebody using this
>> in a development environment like this. I'd appreciate some help.
>>
>> Tomcat-4.1.27, Red Hat Linux 7.3 + up2date, Sun j2sdk-1.4.1. Thanks
>> much.
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|