Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tomcat5-5 and logging [kind of solved :)]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MaxMara
n00b
n00b


Joined: 31 Aug 2004
Posts: 35
Location: Vienna/Austria

PostPosted: Fri Mar 02, 2007 4:46 pm    Post subject: Tomcat5-5 and logging [kind of solved :)] Reply with quote

Hi!

I just emerged tomcat5-5 and everything worked out fine.
In my application is a small bug, but tomcat doesn't write anything to /var/log/tomcat-5.5/catalina.out
I think it's because I start tomcat with the /etc/init.d-script, but I have absolutely no idea... :(

Anyone with more ideas? ;)

Thanks and
regards
Christian.


Last edited by MaxMara on Fri Mar 02, 2007 7:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
MaxMara
n00b
n00b


Joined: 31 Aug 2004
Posts: 35
Location: Vienna/Austria

PostPosted: Fri Mar 02, 2007 7:57 pm    Post subject: Reply with quote

I just found this one: https://bugs.gentoo.org/show_bug.cgi?id=129761.
I removed "--background" from the start-script and now it really logs to catalina.out.
Only a workaround, but it seems to work :)

Cheers
Christian.[/url]
Back to top
View user's profile Send private message
wltjr
Retired Dev
Retired Dev


Joined: 31 Jan 2006
Posts: 73

PostPosted: Mon Mar 26, 2007 5:47 pm    Post subject: Reply with quote

This is the bug tracking this issue, Bug #162379, and it's a known one. For the most part all logging should go to catalina*.log including exception. Only bad code or stderr/stdout logging from within beans or other nested code tends to rely on that file for exception output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum