Mark Thomas ma...@apache.org wrote in message
news:4a7c9110.50...@apache.org...
Eric B. wrote:
Is there a workaround for this, or just one of those things that you have
to
learn to live with?
In catalina.properties, modify the following entry as shown:
/log4j.xml. I was having
trouble with getting the log4j.properties to mirror the
logging.properties, so I swtiched to log4j.xml, but am running into the same
problem:
My webapp uses log4j to log data to stdout. When using Juli (in the default
configuration), everything that is displayed in stdout
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
On 8/11/2009 5:25 PM, Eric B. wrote:
My webapp uses log4j to log data to stdout. When using Juli (in the default
configuration), everything that is displayed in stdout is logged to
catalina.out. However, when I switch to log4j
Christopher Schultz ch...@christopherschultz.net wrote in message
news:4a8223c7.1030...@christopherschultz.net...
My webapp uses log4j to log data to stdout. When using Juli (in the
default
configuration), everything that is displayed in stdout is logged to
catalina.out. However, when I
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
Subject: Re: Log4j vs JULI configuration discrepancy
I don't understand why when using Juli anything that webapp's log4j
logs to Stdout gets logged to a file, however, when using log4j with
tomcat this behaviour isn't replicated
Hi,
I'm not sure if there is anything that can be done about this, but I just
tried switching from Tomcat's standard JULI logging to Log4j implementation
following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html.
Overall, everything works as expected, although I found one
Eric B. wrote:
Hi,
I'm not sure if there is anything that can be done about this, but I just
tried switching from Tomcat's standard JULI logging to Log4j implementation
following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html.
Overall, everything works as expected
Mark Thomas ma...@apache.org wrote in message
news:4a7c9110.50...@apache.org...
Eric B. wrote:
Hi,
In JULI, the logging.properties file can be place in
${catalina.base}/conf/logging.properties, whereas Log4j expects it in
${catalina.home}/lib/log4j.properties. I am assuming
Sorry for the delay, had a few vacation days.
I ran some tests to verify Log4J config at webapp vs server level and had
these additional observations:
The log4j.properties file in CATALINA_HOME/lib is still used for
initialization unless overridden in the default locations (log4j.properties
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 6/25/2009 8:54 AM, Christopher Piggott wrote:
log4j.logger.org.apache.commons.digester.Digester=WARN, nowhere
log4j.logger.org.apache.commons.digester.Digester.sax=WARN, nowhere
Strictly speaking, it doesn't matter what level (e.g. WARN)
Hello all,
I have virtual hosting enabled in tomcat 6.0.18. But I can not forward logs
into proper log files. I wants to have two log files, one for tomcat and one
for virtual host. Following is my configuration:
Server.xml
--
Host name=a.localhost
Hi, Dhaval.
Unless you have added log4j support, i think tomcat 6 installation use
java4 log as default log engine. Could this be the problem ? Have you
tried to change conf/logging.properties ?
Another components (using commons logging for instance) can be using
In older tomcat versions, log4j was the default log engine.
On Tue, 2009-06-30 at 17:38 -0300, Daniel Henrique Alves Lima wrote:
Hi, Dhaval.
Unless you have added log4j support, i think tomcat 6 installation use
java4 log as default log engine. Could this be the problem
From: Caldarale, Charles R
Subject: RE: Seeking authoritative answer re using Log4J with v6
Are you sure you followed all of the steps on the logging page with a
clean Tomcat install?
I will try again from scratch, and report back.
Did a clean install of Win 7, JDK 6u14, ant 1.7.1
This also worked correctly (as documented) for me with 6.0.20 - with the build
of extras and log4j off the SVN trunk (patches for certain property handling
due out in 1.2.16)
--
Mike
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Friday, June 26, 2009 4:01 PM
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Seeking authoritative answer re using Log4J with v6
Are you sure you followed all of the steps on the logging page with a
clean Tomcat install?
I will try again from scratch, and report back.
- Chuck
THIS COMMUNICATION MAY CONTAIN
Thanks, this worked. I downloaded tomcat-juli.jar from
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/extras/, replaced
my build with it, and now have log4j at the server level. (I still need to
very the classloader order prefers log4j.jar in a webapp.)
Mark Thomas-18 wrote
Caldarale, Charles R wrote:
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Seeking authoritative answer re using Log4J with v6
It looks very much like your build environment is broken.
I just duplicated Jonathan's findings on my Vista box. There are several
things broken
Caldarale, Charles R wrote:
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Seeking authoritative answer re using Log4J with v6
I have checked recently (with 6.0.18) and it worked as
expected and documented.
So why was it necessary for Suresh to place his log handler on Tomcat's
I'd like to use Log4J at the server level, but following the
http://tomcat.apache.org/tomcat-6.0-doc/logging.html instructions at
apache.org doesn't seeem to work with 6.0.18.
1) Rebuilding tomcat-juli.jar using extras.xml doesn't include an adapter
for Log4J. The build file lists
org/apache
From: Jonathan Ross [mailto:jonr...@alum.mit.edu]
Subject: Seeking authoritative answer re using Log4J with v6
if log4j.jar is placed in catalina.home/lib per instructions,
it's not on the system classpath, which is used by bootstrap.jar.
A recent posting by Mark T indicates the doc might
classloader is requested. Note that in order to get individual use of
log4j by a webapp,
each must have its own log4j.jar and log4j.properties.
According to the
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html classloader
howto , the order is: system classloader, webapp classloader
From: Jonathan Ross [mailto:jonr...@alum.mit.edu]
Subject: RE: Seeking authoritative answer re using Log4J with v6
According to the
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
classloader howto , the order is: system classloader, webapp
classloader, common classloader
Caldarale, Charles R wrote:
From: Jonathan Ross [mailto:jonr...@alum.mit.edu]
Subject: Seeking authoritative answer re using Log4J with v6
if log4j.jar is placed in catalina.home/lib per instructions,
it's not on the system classpath, which is used by bootstrap.jar.
A recent posting
Mark Thomas wrote:
Caldarale, Charles R wrote:
From: Jonathan Ross [mailto:jonr...@alum.mit.edu]
Subject: Seeking authoritative answer re using Log4J with v6
if log4j.jar is placed in catalina.home/lib per instructions,
it's not on the system classpath, which is used by bootstrap.jar
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Seeking authoritative answer re using Log4J with v6
It looks very much like your build environment is broken.
I just duplicated Jonathan's findings on my Vista box. There are several
things broken, but the build environment doesn't
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Seeking authoritative answer re using Log4J with v6
I have checked recently (with 6.0.18) and it worked as
expected and documented.
So why was it necessary for Suresh to place his log handler on Tomcat's startup
classpath
This is described here:
http://www.mail-archive.com/log4j-u...@logging.apache.org/msg10697.html
If you truly want them to go nowhere you can do this:
log4j.logger.org.apache.commons.digester.Digester=WARN, nowhere
log4j.logger.org.apache.commons.digester.Digester.sax=WARN, nowhere
Hello
Newbie on ussing log4j and now that I have a simplistic log4j configuration
file I am seeing ALL of the apache all from
org.apache.commons.digester.Digester or
org.apache.commons.digester.Digester.sax. How can I stop that but still keep a
simple or reconfigure my log4j.properties? tia.
hi every one,
Iam new to Log4j...
How to create log files in tomcat logs folder using Apache Log4j
FileAppender class?
This is what i was doing
new FileAppender(layout,todayslog,true);
but the log files are created under tomcat bin folder...how t change
this?
Also let me know
From: abhishek reddy [mailto:abhishek.c1...@gmail.com]
Subject: Regarding log4J creating logs in tomcat logs folder using
FileAppender
but the log files are created under tomcat bin folder
Because you're using a relative path, which should be avoided, since you have
no control over
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Subject: RE: Regarding log4J creating logs in tomcat logs folder using
FileAppender
but the log files are created under tomcat bin folder
Because you're using a relative path, which should be avoided, since
you have
...@gmail.com]
Subject: Regarding log4J creating logs in tomcat logs folder using
FileAppender
but the log files are created under tomcat bin folder
Because you're using a relative path, which should be avoided, since you
have no control over it. You can retrieve the Tomcat base path from
at 6:25 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: abhishek reddy [mailto:abhishek.c1...@gmail.com]
Subject: Regarding log4J creating logs in tomcat logs folder using
FileAppender
but the log files are created under tomcat bin folder
Because you're using
base path?
I have tried this way System.getProperty(tomcat.base);the
value is comming as null
On Mon, Jun 22, 2009 at 6:25 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: abhishek reddy [mailto:abhishek.c1...@gmail.com]
Subject: Regarding log4J creating
From: abhishek reddy [mailto:abhishek.c1...@gmail.com]
Subject: Re: Regarding log4J creating logs in tomcat logs folder using
FileAppender
i think it is catalina.base
Yes, sorry for the earlier misdirect.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
) {
t.printStackTrace();
}
}
If we run the webapp in Weblogic, both the Exception while handling...
message and the stacktrace gets printed to the log file specified by log4j
If we run exactly the same webapp in Tomcat, the Exception
Imner, Andreas wrote:
...
Hi.
I do not know the answer, but I am sure that if you would like some
answers from the experts on this list, it would not hurt to add some
information like :
- the version of this Tomcat
- where you got it from : is it a standard Tomcat from the Tomcat
website, or
juni 2009 11:09
Till: Tomcat Users List
Ämne: RE: Why do stacktraces from servlets print to stdout, when the other end
up in the log4j -log file?
Hi
The Servlet does not propegate the error. This perticular servlet is one we use
for handling unhandled exceptions and displaying an unexpected-error
My companys web application uses log4j 1.2.8 for logging and have just recently
switched from Weblogic to Tomcat 6.0.18.
Since the we switched to Tomcat, when we do some logging within a servlet
private static final Log log = LogFactory.getLog(ExceptionHandlerServlet.class);
log.error(some
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas,
On 6/9/2009 3:31 PM, Imner, Andreas wrote:
My companys web application uses log4j 1.2.8 for logging and have
just recently switched from Weblogic to Tomcat 6.0.18.
Since the we switched to Tomcat, when we do some logging within
our Tomcats are also using log4j instead of Juli.
However, that's close to perfect when using all same Tomcat versions,
but when mixing Tomcat 5.5 and Tomcat 6 on some boxes, this also
doesn't work, since there's no such such as $CATALINA_HOME/common in
Tomcat 6.
Therefore my idea was to use a Java
Gregor Schneider wrote:
since there's no such such as $CATALINA_HOME/common in
Tomcat 6.
You could always create one..
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:
as
a Java-property to Tomcat and evaluate this property within log4j.xml,
however, that does not seem to work:
While this sounds like a great idea, I believe neither log4j nor your
XML parser will choose to auto-replace ${foo} with the result of
System.getProperty(foo). I'd think you'd have to do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 4/30/2009 11:43 AM, Gregor Schneider wrote:
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE log4j:configuration SYSTEM log4j.dtd
Oh, one more thing: couldn't you just turn off XML validation and
completely remove log4j.dtd? Are you sure it's
would like the idea of a
cantral log4j-configuration-file.
However, with log4j.dtd things are slightly different since it's
always a file with the same content and I really dislike redundancies.
So my idea was to use ${CATALINA_HOME}, pass this via -Dlog4j.dtd as
a Java-property to Tomcat
Gregor Schneider wrote:
...
André will not complain, but he has a suggestion :
Considering the error message :
java.net.MalformedURLException: no protocol: ${log4j.dtd}
then either the ${log4j.dtd} does not get expanded as you expect, or
else it does but the result is not a valid URL.
So,
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Most of you may know the typical first lines of any
log4j.xml-config-file:
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE log4j:configuration SYSTEM log4j.dtd
Why does the DTD need to be stored relative to the XML file rather than (say)
andre,
it gets xpanded just perfect, but seems the file- protocol is not
recognized.
so u gotta work a bit more for the chocolate ;)
cheers
gregor
Am 30.04.2009 um 18:13 schrieb André Warnier a...@ice-sa.com:
Gregor Schneider wrote:
...
André will not complain, but he has a suggestion :
I try to do some logging with my two web apps (A and B). Each webapps has has
its own log4j*.jar and log4j property file (log4j.xml and log4j-1.2.14.jar
for webapp A and
log4j.properties and log4j-1.2.15.jar for webapp B).
I try to modify log4j.properties file in webapp B to output some debug
Mark,
I checked out rev 733300 from /tomcat/tc6.0x/trunk, built it and the
relase, and used an unzipped copy of apache-tomcat-6.0-snapshot.
Unfortunately, the same error still happens when I start up my webapp:
ERROR org.apache.commons.digester.Digester - Parse Error at line 405
column
From: Ken Bowen [mailto:kbo...@als.com]
Mark,
I checked out rev 733300 from /tomcat/tc6.0x/trunk, built it and the
relase, and used an unzipped copy of apache-tomcat-6.0-snapshot.
Unfortunately, the same error still happens when I start up my webapp:
ERROR
From: Ken Bowen [mailto:kbo...@als.com]
[Tomcat 6.0.18, java 1.5.0_16, struts 1.2.8]
snip/
Has anyone any thoughts on what might be happening here?
Could be a variation of
https://issues.apache.org/bugzilla/show_bug.cgi?id=45933 Can you try testing
with a build from trunk?
Mark
Mark,
I'm more than willing. Are there nightly jar builds, or do I need to
set up do the build myself?
(First time for this).
Thanks
Ken
On Jan 9, 2009, at 5:17 AM, Mark Thomas wrote:
Could be a variation of
https://issues.apache.org/bugzilla/show_bug.cgi?id=45933 Can you try
testing
Hi Mark,
On Thu, Jan 8, 2009 at 1:43 AM, Mark Thomas ma...@apache.org wrote:
It is in bin/extras on all the mirrors.
ok, that was what I was missing.
The logging page coudl do with updating with that information and a browse
option on the downoad page woudl help find it. I'll add those
Hi all,
[Tomcat 6.0.18, java 1.5.0_16, struts 1.2.8]
I have a struts 1.2.8 app [I know, that's antediluvian] which has been
running fine for some time.
I'm now trying to add log4j logging to it. I am getting an extremely
strange side-effect when I
add a log4j.properties file to WEB-INF
Dear all,
actually I like Tomcat. I like the Apache Group. Most docs are quite useful.
However, things are changing slightly since I'm trying to implement
log4j with Tomcat 6.
I've got it nicely running on my boxes running Tomcat 5.5, btw.
I started taking a look at the docs at
http
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Ain't it just enough to copy commons-logging-1.1.jar do
${CATALINA_HOME}/lib, and that's it?
No.
And one suggestion:
Why make it so difficult and have the user to do the build? Why not
put the appropriate jars for download on the
ObjectName(log4j:logger=com.ifp.switch)
??
Otherwise, try asking on the log4j lists.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklabUIACgkQ9CaO5/Lv0PDLNQCguE36Sp/RxKJ+r+2jGyqbnKcv
Hello!
I use
Win XP
JDK 1.5.0_13
Tomcat 6.0.16
Log4J 1.2.14
I set up logging as described on
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
And it's all right? everything is workng fine.
But when I start tomcat with security manager, I've got only:
log4j:WARN No appenders could
It usually means that the log4j properties file cannot be found on the
classpath.
Kees
On Mon, Dec 29, 2008 at 11:44, Korobitsyn Roman k...@dtnm.ru wrote:
Hello!
I use
Win XP
JDK 1.5.0_13
Tomcat 6.0.16
Log4J 1.2.14
I set up logging as described on
http://tomcat.apache.org/tomcat
Hello Kees,
And where should I put log4j.properties in that case?
Roman
KdK It usually means that the log4j properties file cannot be found on the
KdK classpath.
KdK Kees
KdK On Mon, Dec 29, 2008 at 11:44, Korobitsyn Roman k...@dtnm.ru wrote:
Hello!
I use
Win XP
JDK 1.5.0_13
Tomcat
In WEB-INF/classes of your application.
On Mon, Dec 29, 2008 at 12:37, Korobitsyn Roman k...@dtnm.ru wrote:
Hello Kees,
And where should I put log4j.properties in that case?
Roman
KdK It usually means that the log4j properties file cannot be found on the
KdK classpath.
KdK Kees
This is a very good article. I just have one question. I don't have
root logger and I use some other logger name. What should I pass in
the ObjectName? Below is my log4j config:
log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/;
debug=false
appender name=SWITCH_LOG class
We use tomcat 6. Is it possible to expose log4j service in tomcat's
jmx console manager? This will help dynamically setting log levels.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail
From: Mohit Anchlia [mailto:mohitanch...@gmail.com]
Subject: log4j
We use tomcat 6. Is it possible to expose log4j service in tomcat's
jmx console manager? This will help dynamically setting log levels.
GIYF:
http://www.devx.com/Java/Article/32359/1954
- Chuck
THIS COMMUNICATION MAY
I'll take a look, thanks.
Rebeccah
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, December 10, 2008 4:51 PM
To: Tomcat Users List
Subject: Re: How to set Log4J debug flag in Tomcat
Prastein, Rebeccah H wrote:
How do I start tomcat as an application
How do I start tomcat as an application (not a service) and set the
log4j debug commandline parameter?
I tried editing startup.bat to prepend -Dlog4j.debug to %CMD_LINE_ARGS%,
but I get the following error on startup, and I don't see any log4j
debug output:
usage: java
Prastein, Rebeccah H wrote:
How do I start tomcat as an application (not a service) and set the
log4j debug commandline parameter?
I tried editing startup.bat to prepend -Dlog4j.debug to %CMD_LINE_ARGS%,
but I get the following error on startup, and I don't see any log4j
debug output:
usage
log4j.logger.org.apache.catalina.session=DEBUG, R
Download Log4J
(v1.2 or later) and place the log4j jar in
$CATALINA_HOME/common/lib.
Download Commons Logging and place the commons-logging-x.y.z.jar
(not commons-logging-api-x.y.z.jar) in $CATALINA_HOME/common/lib
out with a problem of log4j not writing all of the log
statements to my RollingFileAppender right away - like some sort of I/O
blocking. If I log enough statements, eventually all of the accumulated
ones write out, but it doesn't seem to be just a time-dependent thing (I
may be wrong about
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rebeccah,
Prastein, Rebeccah H wrote:
I'm hoping someone here can help me with this; I've searched all over
the web, and any references to FileAppenders not flushing in the log4j
lists get the response, not a log4j problem, must be your
I'm hoping someone here can help me with this; I've searched all over
the web, and any references to FileAppenders not flushing in the log4j
lists get the response, not a log4j problem, must be your application.
I have a simple 3-page Spring 2.5 Spring MVC application running under
Tomcat 5.5
How can i simply log the date and the time in each line?
I found several examples around, but none of them works
Regards
--
View this message in context:
http://www.nabble.com/Log4j-Date-time-logging-tp19048064p19048064.html
Sent from the Tomcat - User mailing list archive at Nabble.com
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
## see PatternLayout
## %d{ISO8601} = -MM-dd HH:mm:ss,SSS
## %d{ABSOLUTE} = HH:mm:ss,SSS
## %-5p = level, left aligned, minimum 5 characters
## %c{1} = last part of the name of the logger
## %m = message
## %n = newline (platform
Thanks gregor. This would be to get tomcat to rotate right?
What i was testing was to have a log4j.properties (which I believe is
the same outcome as the log4j.xml) in the common/classes, and commons
logging and log4j jars in the common/lib.
This worked right I had a tomcat.log which rotates
Any suggestion on this?
thanks
emerson
On 08/08/2008, emerson cargnin [EMAIL PROTECTED] wrote:
Hi there sorry for the lack of information.
I'm running tomcat 5.5.26.
logging.properties are in the tomcat/conf folder.
My log4j file is inside tomcat/bin/resources
This is the location where
Well,
I guess you should v´have a vanilla start with log4j.
Therefore:
1st make sure that you've got all necessary libs installed in the
appropriate folders (guess you're fine here, otherwise no logs would
show up)
2nd create a file $catalina_home/common/classes/log4j.xml with the
following
Hello -
Wondering if anyone can help.
I am using:
- Tomcat 6.0.14 on Linix
- Java 1.5.0_13
- Spring 2.5.1
- Quartz scheduler 1.6.0
- commons logging 1.1.1
I am seeing the following in the tomcat catalina-2008-mm-dd.log file:
SEVERE: Runtime error occured in main trigger firing loop.
Hi Guys
My Log4j configuration has all turned to ERROR in my log4j.lcf. In
resin this works right, so no INFO or DEBUG in the resin main log
file.
In tomcat, though, even if my log file has only ERROR statements,
catalina.out seems to be getting all INFO, DEBUG from my application.
I couldnt
| level.
Could you post your log4j configuration and your logging.properties?
That would help immensely. Also, please tell us where each file is
deployed into your running TC instance. Also, maybe what version of TC
you are running.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32
Hi there sorry for the lack of information.
I'm running tomcat 5.5.26.
logging.properties are in the tomcat/conf folder.
My log4j file is inside tomcat/bin/resources
This is the location where all our resources files are located, to
make transparent the migration from resin to tomcat. I can
I've been stuck with this problem for about a week now.
I am trying to get the Log4J working in my servlet. I have tried it on Tomcat
6.0.16 as well as Tomcat 5.5.26.
I have followed all the directions in the logging section for both versions.
The internal logging works fine in both cases
Does anybody has any idea what might be causing the problem with Log4J? I've
googled for the longest time and there are no leads I found.
Denis
- Original Message
From: Denis Kezerashvili [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, July 29, 2008 9:49:08 AM
Subject
:
Does anybody has any idea what might be causing the problem with
Log4J? I've googled for the longest time and there are no leads I
found.
Denis
- Original Message
From: Denis Kezerashvili [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, July 29, 2008 9:49:08 AM
Subject
Hey folks,
quick question: if, according to
http://tomcat.apache.org/tomcat-6.0-doc/logging.html, log4j is the
recommended logger, and Tomcat uses commons-logging, why is log4j not
shipped as the default logger???
I suspect as Tomcat uses a package renamed logging implementation
which
From: Hexsel, Gustavo [mailto:[EMAIL PROTECTED]
Subject: Log4j Logging
(This must be national logging questions month :-)
if, according to
http://tomcat.apache.org/tomcat-6.0-doc/logging.html,
log4j is the recommended logger
I don't see anything on that page that implies log4j
Cool, that helps! Sorry about the previous message, I think in my
rage I probably skipped the most important details :)
Does anyone know any project that has some flexible formatters a la
log4j for java.logging? SimpleFormatter and that XML formatter are way
too verbose (having the 2 lines
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| From: Hexsel, Gustavo [mailto:[EMAIL PROTECTED]
| Subject: Log4j Logging
|
| (This must be national logging questions month :-)
Logging too much is bad for the environment. You should recycle your
telephone
such as java.util.logging or log4j as detailed next.
(2) There ought to be a link to some page describing how to convert a
Logger into something useful in Tomcat 5.5.
There is the page http://wiki.apache.org/tomcat/FAQ/Logging but there
is no link on the logging page to the FAQ.
(3
David Fisher wrote:
(3) On the logger FAQ page the Configuration link is dead!
http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html gives a 404.
Fixed. Note, the FAQ is now on a wiki so anyone who spots an error can just
fix it.
Mark
OK. It doesn't give 404, how about fixing the page not found on this
server error too?
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 3:30 PM
To: Tomcat Users List
Subject: Re: Log4j Logging
David Fisher wrote:
(3) On the logger FAQ page
Walter Thompson wrote:
OK. It doesn't give 404, how about fixing the page not found on this
server error too?
I'm not a mind reader. Which link is broken?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To
:45 PM
To: Tomcat Users List
Subject: Re: Log4j Logging
Walter Thompson wrote:
OK. It doesn't give 404, how about fixing the page not found on this
server error too?
I'm not a mind reader. Which link is broken?
Mark
Walter Thompson wrote:
The same one you claimed to have fixed the 404 error on!
(3) On the logger FAQ page the Configuration link is dead!
http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html gives a
404.
Of course it will give a 404. That URL doesn't exist which is why I updated
the
It now points to http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html
That's perfect for me.
Thank you very much,
Dave
On Jun 24, 2008, at 3:30 PM, Mark Thomas wrote:
David Fisher wrote:
(3) On the logger FAQ page the Configuration link is dead!
Hello,
I'm using a tomcat 5.5.25 with log4j for logging configured as it is
described here: http://tomcat.apache.org/tomcat-5.5-doc/logging.html.
I'm only using it at tomcat level because my web applications I'm using
are very old (~2000) and have their own logging system.
Well, I've been
Hi,
I'm still trying to fix the problem with the welcome file not working, but
my logging going wrong has trumped that little problem.
I had it working fine using log4j - here's my properties file:
log4j.rootLogger=info, logfile
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
The OFF has the highest possible rank and
is intended to turn off logging.
http://www.jdocs.com/log4j/1.2.13/api-index.html?m=classp=org.apache.log4jc=PropertyConfiguratorrender=classic
HTH
Martin
- Original Message -
From: John Pedersen [EMAIL PROTECTED]
To: Tomcat Users
Thanks a lot Schultz,
my log4j logging works now, it prints the logs to stdout_20080523.log
Actually, I followed the instruction on log4j docs..
I created initialization servlet, Log4jInit.class, that initializes log4j
and loaded on startup...
This initialization class looks like
401 - 500 of 732 matches
Mail list logo