Hi Friends,
I am using this file for outputting log data,can someone please tell me how to
save this data to some file instead of outputting,so that I can have a look at
it later on...
any help would be appreciated
import org.apache.log4j.Logger;
import org.apache.log4j.BasicConfigurator;
none [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, January 20, 2005 7:03 PM
Subject: Logger file
Hi Friends,
I am using this file for outputting log data,can someone please tell me how
to save this data to some file instead of outputting,so that I can have
Yes, but modifying org.apache.catalina.logger.FileLogger is clearly a
tomcat developer concept :). Of course, if I could, I would. I
remember
a
Not for this list, it's not. Many tomcat users modify/extend/create
their own Loggers, Valve, Manager, and other tomcat plug-ins.
Okay, here I
Howdy,
Okay, here I am, my first Java lines. I downloaded tomcat 4.1.27
sources
and perform the following in :
src/share/org/apache/catalina/logger/FileLogger.java
Added a line
import java.lang.String;
In the import part of the file, Added :
private String localhostname = ;
to define the
Well, I answer to myself, I expect to convince myself from my own existence...
What I would like to do is to use a variable in the attributes of the Logger
definition (either prefix or suffix). I don't know if I could do it using XSL (and if
I could, I don't know how to) or if you have a better
Howdy,
What I would like to do is to use a variable in the attributes of the
Logger definition (either prefix or suffix). I don't know if I could do
it
using XSL (and if I could, I don't know how to) or if you have a better
idea. Is there another Logger Nested Component I can use that aware
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 16 octobre 2003 17:12
À : Tomcat Users List
Objet : RE: Customizing Logger file names
Herk. Sorry for the header...
Howdy,
Grunt.
What I would like to do is to use a variable
Howdy,
Howdy,
Grunt.
Huh?
- Put any string you want in the logger prefix or suffix
I can't do that, because the conf file will be the same for all
servers and thus, the prefix and suffix will be the same, and there
will be
competition between servers when they will have to
-Message d'origine-
Howdy,
Grunt.
Huh?
Sorry. Kind of private joke.
So the server.xml file is the same for multiple servers, but the
logging
directory is also the same for all the servers? I assume it's a
directory other than $CATALINA_HOME/logs, then? You could
Howdy,
Log4j does have these feature. The Logger elements in tomcat's
server.xml are not log4j loggers, they are proprietary tomcat
loggers.
And There is no way to exchange tomcat Logger with log4j ones? I
would hope to do something like :
No, because log4j loggers don't implement
10 matches
Mail list logo