Logger file

2005-01-20 Thread micky none
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;

[OT]Re: Logger file

2005-01-20 Thread Roberto Cosenza
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

RE: Customizing Logger file names

2003-10-17 Thread Francois JEANMOUGIN
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

RE: Customizing Logger file names

2003-10-17 Thread Shapira, Yoav
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

Customizing Logger file names

2003-10-16 Thread Francois JEANMOUGIN
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

RE: Customizing Logger file names

2003-10-16 Thread Shapira, Yoav
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

RE: Customizing Logger file names

2003-10-16 Thread Francois JEANMOUGIN
-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

RE: Customizing Logger file names

2003-10-16 Thread Shapira, Yoav
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

RE: Customizing Logger file names

2003-10-16 Thread Francois JEANMOUGIN
-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

RE: Customizing Logger file names

2003-10-16 Thread Shapira, Yoav
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