Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes Apache Log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Log" Watch "Apache Log" New topic

Apache Log

Demi Ola

Joined: Oct 04, 2005
Posts: 3
Hi, I am tailing the apache log file, but i am getting a lot of apache related stuff in my logs, any idea how to turn this off?

thanks in advance.
Nigel Chou
Ranch Hand

Joined: Oct 11, 2001
Posts: 47
I am using apache log, but can't find message written by my programme. I wonder whether the file name is right, or whether I used the log API properly. Can you please tell me which file are you tailing? and Where is the documentation about apache log.


Demi Ola

Joined: Oct 04, 2005
Posts: 3
I have log4j deployed.
this is what i have in my

log4j.rootLogger=DEBUG, stdout



My log is picking up apache log messages
Introspected attribute bytesSent public long org.apache.coyote.RequestInfo.getBy
tesSent() public void org.apache.coyote.RequestInfo.setBytesSent(long)
Introspected attribute method public java.lang.String org.apache.coyote.RequestI
nfo.getMethod() null
Introspected attribute remoteAddr public java.lang.String org.apache.coyote.Requ
estInfo.getRemoteAddr() null
Introspected attribute requestBytesSent public long org.apache.coyote.RequestInf
o.getRequestBytesSent() null
Introspected attribute contentLength public int
tContentLength() null
Demi Ola

Joined: Oct 04, 2005
Posts: 3
oops, sorry, i am tailing the xxxx.log
Don't get me started about those stupid light bulbs.
subject: Apache Log
Similar Threads
Application cannot create log file in linux
how to generate the unique message id for log message
Logging SOAP Messages
Apache access log rotation
Logging HTTP header info using Apache HTTP