Re: how to rotate the tomcat logger once a month instead of daily

2005-04-25 Thread Tim Funk
FileLogger doesn't use fileDateFormat. Only AccessLogValve support the date formatting. -Tim Amir S wrote: Hi, I have tried the following like in valve logger: suffix=".txt" timestamp="true" fileDateFormat="-MM"/> but it ignores it and

how to rotate the tomcat logger once a month instead of daily

2005-04-25 Thread Amir S
Hi, I have tried the following like in valve logger: but it ignores it and show the date in the format -mm-dd. Regards, Amir Sadeh

Re: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2005-04-05 Thread reynir
d though? Anyway, I moved the libs up next to Armanta.jar in the lib >dir and it works fine. > >Thanks > >Eric > >-Original Message- >From: reynir [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 05, 2005 3:53 PM >To: Tomcat Users List >Subject: Re: NoClass

RE: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2005-04-05 Thread Eric J Kaplan
3:53 PM To: Tomcat Users List Subject: Re: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger hi, This is a simple class not found exception, that would be fixed if you add the avalon jars into WEB-INF/lib The classloader can not find : org.apache.avalon.framework.logger.Logger This

Re: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2005-04-05 Thread reynir
pache.org >Subject: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger > >All > > > >I recently downloaded tomcat version 5.0.28 and created a webapp in the >webapps directory which looks as follows: > > > > > >webapps > >

RE: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2005-04-05 Thread Eric J Kaplan
Fyi, I am running java 1.4.1_07 on windows XP -Original Message- From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 2:44 PM To: tomcat-user@jakarta.apache.org Subject: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger All I recently downloaded

NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

2005-04-05 Thread Eric J Kaplan
root cause java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:1590) java.lang.Class.getConstructor0(Class.java:1762) java.lang.Class.newInstance0(Clas

RE: Setting default tomcat logger 5.0.28

2005-02-17 Thread Brian McGovern
have output to stdout.log. - B -Original Message- From: Ian Wootten [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:38 AM To: Tomcat Users List Subject: Re: Setting default tomcat logger 5.0.28 I've managed to make some headway with this problem. I've moved

Re: Setting default tomcat logger 5.0.28

2005-02-17 Thread Ian Wootten
log4j. Is this possible? Thanks Ian Ian Wootten wrote: I'm having a right job trying to configure the default logger within tomcat. I want to use log4j and set it at a DEBUG level. I've added all the commons-logging.jar and log4j.jar packages to the classpath, but every time I declare t

Setting default tomcat logger 5.0.28

2005-02-16 Thread Ian Wootten
I'm having a right job trying to configure the default logger within tomcat. I want to use log4j and set it at a DEBUG level. I've added all the commons-logging.jar and log4j.jar packages to the classpath, but every time I declare the properties file I wish to use prior to these, it do

Re: commons-logging logger instances - how to initialize in replicated session objects

2005-02-14 Thread Roberto Cosenza
define them as "transient", so they will not be serialized during session replication. In my classes, I usually use a "protected transient Log logger" declaration so you can also avoid to redeclare loggers for your subclasses. On Sat, 12 Feb 2005 06:43:03 -0700, Richard Mixon (qwest)

RE: SOLVED - commons-logging logger instances - how to initialize in replicated session objects

2005-02-13 Thread Richard Mixon (qwest)
ard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 6:43 AM To: Tomcat Users List Subject: RE: commons-logging logger instances - how to initialize in replicated session objects Thanks Trond, I had forgotten about readObject.That may be a better option than creating y

RE: commons-logging logger instances - how to initialize in replicated session objects

2005-02-12 Thread Richard Mixon (qwest)
alize your static > logger maybe you should try to implement the > readObject(java.io.ObjectInputStream in) method from the > java.io.Serializable interface something like this: > > readObject(...) { > super.readObject(...); > log = LogFactory.getLog(...); >

Re: commons-logging logger instances - how to initialize in replicated session objects

2005-02-12 Thread Trond G. Ziarkowski
Hi, I'm maybe stepping out of my territory here, but I think that static members are not serialized/deserialized. To re-initialize your static logger maybe you should try to implement the readObject(java.io.ObjectInputStream in) method from the java.io.Serializable interface something

commons-logging logger instances - how to initialize in replicated session objects

2005-02-11 Thread Richard Mixon (qwest)
I have been working with Filip Hanik to get failover/session replication working for my application. Finally it is working quite well. Hooray for Filip! However it did uncover one issue with the way I was handling the commons-logging logger instances in my business objects that I store in the

[OT]Re: Logger file

2005-01-20 Thread Roberto Cosenza
micky none" <[EMAIL PROTECTED]> To: "Tomcat Users List" 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

Logger file

2005-01-20 Thread micky none
; public class MyApp { static Logger logger = Logger.getLogger(MyApp.class); public static void main(String[] args) { BasicConfigurator.configure(); logger.info("Entering application."); System.out.println("Log file"); logger.info("Exiting application."); } }

RE: Logger without timestamp not working

2004-12-23 Thread Goel, Manish Kumar
see the the Filelogger class under server\lib\catalina.jar so you can do one thing write your own Filelogger class which is exactly same as Filelogger just copy it and just remove the date from pathname definition inside the open method. and just compile and use it as your own file logger

RE: Logger without timestamp not working

2004-12-23 Thread Faine, Mark
s. -Mark -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 11:16 AM To: Tomcat Users List Subject: Re: Logger without timestamp not working Yup. But is it really worth it? Logger is gone in 5.5 in place of commons-logging. -Tim Faine, Mark wrote:

Re: Logger without timestamp not working

2004-12-23 Thread Tim Funk
Yup. But is it really worth it? Logger is gone in 5.5 in place of commons-logging. -Tim Faine, Mark wrote: So how would you suggest one get a log file without a timestamp appended to it? Extend FileLogger? -Mark -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent

RE: Logger without timestamp not working

2004-12-23 Thread Faine, Mark
So how would you suggest one get a log file without a timestamp appended to it? Extend FileLogger? -Mark -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 10:48 AM To: Tomcat Users List Subject: Re: Logger without timestamp not working The

Re: Logger without timestamp not working

2004-12-23 Thread Tim Funk
fault value of timestamp is false and my other problem with logger I have already posted it & didn't hear from any one abt. it problem for creating the separate log file by for my application context in tomcat-5.0.19. that is working fine in tomcat 5.0.27! please help me what the sett

RE: Logger without timestamp not working

2004-12-23 Thread Faine, Mark
: Re: Logger without timestamp not working The loggers doesn't support the timestamp attribute, only the accessvalve loggers do. -Tim Faine, Mark wrote: > Tomcat 4.1.27 > > I can't get Tomcat to not timestamp log files. I've set the logger's > timestamp attribut

RE: Logger without timestamp not working

2004-12-23 Thread Goel, Manish Kumar
Tim Funk, I tried it in 5.0.19 version it didn't work for me also but document says it must work and the default value of timestamp is false and my other problem with logger I have already posted it & didn't hear from any one abt. it problem for creating the separate log

Re: Logger without timestamp not working

2004-12-23 Thread Tim Funk
The loggers doesn't support the timestamp attribute, only the accessvalve loggers do. -Tim Faine, Mark wrote: Tomcat 4.1.27 I can't get Tomcat to not timestamp log files. I've set the logger's timestamp attribute to false and still a timestamp is placed on the file. Is this a bug? --

Logger without timestamp not working

2004-12-23 Thread Faine, Mark
Tomcat 4.1.27 I can't get Tomcat to not timestamp log files. I've set the logger's timestamp attribute to false and still a timestamp is placed on the file. Is this a bug? Thanks, -Mark - To unsubscribe, e-mail: [EMAIL PROTECT

RE: Asynchronous statistics logger

2004-12-02 Thread Vincent Gogan
t: RE: Asynchronous statistics logger > > > this strikes me as being something JMS would handle well, but > Tomcat doesn't support JMS by default. I have seen people > installing openJMS on Tomcat though. > > as for the startup/shutdown, that's going to be a Con

Re: Asynchronous statistics logger

2004-12-02 Thread Tim Funk
riginal Message- From: Michael Cornell [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 10:04 To: [EMAIL PROTECTED] Subject: Asynchronous statistics logger Hi, I am trying to implement an asynchronous statistics logger that would load on startup and be destroyed on shutdown of tomcat. This l

RE: Asynchronous statistics logger

2004-12-02 Thread Shapira, Yoav
: Allistair Crossley [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 02, 2004 5:11 AM >To: Tomcat Users List >Subject: RE: Asynchronous statistics logger > >this strikes me as being something JMS would handle well, but Tomcat >doesn't support JMS by default. I have seen pe

RE: Asynchronous statistics logger

2004-12-02 Thread Allistair Crossley
about all i can offer on this, sorry :) > -Original Message- > From: Michael Cornell [mailto:[EMAIL PROTECTED] > Sent: 02 December 2004 10:04 > To: [EMAIL PROTECTED] > Subject: Asynchronous statistics logger > > > Hi, > > I am trying to implement an asyn

Asynchronous statistics logger

2004-12-02 Thread Michael Cornell
Hi, I am trying to implement an asynchronous statistics logger that would load on startup and be destroyed on shutdown of tomcat. This logger then needs to write to a log file / to disk / to log4j every x seconds with these statistics. Methods to add some statistic to it need to be accessible

Re: java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger

2004-09-16 Thread missioncoder
om: "Avinash R S" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 16, 2004 5:29 AM Subject: Re: java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger Hi, One of the main reasons for getting NotClassDefFoundError i

Re: java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger

2004-09-16 Thread Avinash R S
Hi, One of the main reasons for getting NotClassDefFoundError is tomcat is encountering two different versions of Logger class. Looks like you have two different versions of Log4j library in Tomcat(Search and Verify all the Log4J library files in Tomcat and Webapps). Do not hesitate to

java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger

2004-09-15 Thread missioncoder
gging/Logger", but I cannot find it, (server.xml, web.xmlcatalina.sh, startup.sh) Any Suggestions??Thanks in advance...javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv

Re: Logger configuration

2004-09-07 Thread Roberto Cosenza
Bedrijven.nl wrote: See the product Log4j. -Oorspronkelijk bericht- Van: Roberto Cosenza [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, September 07, 2004 1:48 PM Aan: Tomcat Users List Onderwerp: Re: Logger configuration Bedrijven.nl wrote: see tomcat page http://jakarta.apache.org

Re: Logger configuration

2004-09-07 Thread Roberto Cosenza
Benjamin Armintor wrote: Do you have the swallowOutput attribute of your Context set to "true"? That's what redirects the sysout messages. Also, if swallowOutput="false" on your DefaultContext, you will have to set override="true" on your Context. Yes, thanx, That was exactly what I was looking

RE: Logger configuration

2004-09-07 Thread Benjamin Armintor
s Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message- From: Roberto Cosenza [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 7:25 AM To: Tomcat Users List Subject: Logger configuration How do

RE: Logger configuration

2004-09-07 Thread Bedrijven.nl
See the product Log4j. -Oorspronkelijk bericht- Van: Roberto Cosenza [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, September 07, 2004 1:48 PM Aan: Tomcat Users List Onderwerp: Re: Logger configuration Bedrijven.nl wrote: >see tomcat page >http://jakarta.apache.org/tomcat/tomc

Re: Logger configuration

2004-09-07 Thread Roberto Cosenza
Bedrijven.nl wrote: see tomcat page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html Thanx, I read the manual. The fact is that the logger seems to not to log what i print using System.out.println. Am I right or am I just confusing stuff? -- Roberto Cosenza Infoflex Connect

RE: Logger configuration

2004-09-07 Thread Bedrijven.nl
see tomcat page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html -Oorspronkelijk bericht- Van: Roberto Cosenza [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, September 07, 2004 1:25 PM Aan: Tomcat Users List Onderwerp: Logger configuration How do I configure context

Logger configuration

2004-09-07 Thread Roberto Cosenza
How do I configure context loggers so that everything written to stdout or stderr goes to a special file? My debug messages are only printed to catalina.out. Thanx -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a t

Re: ljk2 logger

2004-05-25 Thread Bill Barker
DEBUG level. > > I would like to configure the logger for log instruction > received by the connector. > > > can someone tells me if it is possible to do it. > > thanks in advance > ___ > NATEXIS ASSET MANAGEMENT > Meis

ljk2 logger

2004-05-25 Thread meissa . Sakho
I'm running Tomcat 4.1.29 with apache2 under linux. I'm using jk2 and everything works(almost) fine. When I start tomcat, I've some logging instruction from org.apache.jk.server.JkMain and org.apache.jk.common.ChannelSocket both a DEBUG level. I would like to configure the

RE: Debug-Logger

2004-05-24 Thread Shapira, Yoav
Hi, Change DEBUG to WARN or ERROR depending on your preference. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Dotterweich Juergen [mailto:[EMAIL PROTECTED] >Sent: Monday, May 24, 2004 9:08 AM >To: '[EMAIL PROTECTED]' >Subject: De

Debug-Logger

2004-05-24 Thread Dotterweich Juergen
Hello, I installed a log4j.properties - file and the performace suffers extreme and I get much too much DEBUG entries. The log4j.properties - file looks like: log4j.rootLogger=ERROR, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache

Re: The Logger Component

2004-05-19 Thread Mario Ivankovits
; public class Logger extends LoggerBase { private final static Log log = LogFactory.getLog("Tomcat"); public void log(Exception ex, String message) { log.fatal(message, ex); } public void log(String message, Throwable throwable) { log.fatal(message,

RE: The Logger Component

2004-05-18 Thread Shapira, Yoav
Hi, >2 small questions regarding the Logger Component: > >1) Is the only way to make the log file to be rolled is by defining time >stamp to "true" (timestamp="true")? I don't think so, but I'm not sure. IIRC timestamp affects only the content of the

The Logger Component

2004-05-18 Thread ariel
2 small questions regarding the Logger Component: 1) Is the only way to make the log file to be rolled is by defining time stamp to "true" (timestamp="true")? 2) Is it possible to limit the amount of rolled logged files as it can be done in the log4j ? P.S. My question

RE: jdk1.4 & tomcat5 & log4j finds java.util.logging Logger not l og4j

2004-04-12 Thread Robert . Walker
to get a handle on whats happening -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 5:37 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: jdk1.4 & tomcat5 & log4j finds java.util.logging Logger not log4j What are

RE: jdk1.4 & tomcat5 & log4j finds java.util.logging Logger not log4j

2004-04-09 Thread D'Alessandro, Arthur
What are your imports? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri Apr 09 16:58:08 2004 To: [EMAIL PROTECTED] Subject:jdk1.4 & tomcat5 & log4j finds java.util.logging Logger not log4j hi all I am running tomcat 5, with jdk 1.4

jdk1.4 & tomcat5 & log4j finds java.util.logging Logger not log4j

2004-04-09 Thread Robert . Walker
servlet and snippet of web.xml, all seems fine in the 1st servlet I hit, i do a private Log log = LogFactory.getLog(this.getClass().getName()); and then a print which Logger i am using and it shows java.util.logging.Logger System.out.println("* log=" +log); which yields

Re: Logger issues

2004-02-24 Thread Nathan Maves
Where would I set my log level? It seems like there is about 100 different places to set log levels in the Tomcat Administrator. Without changing my webapp all of the logging goes to the standard log file in the S1App Server. When I deploy it to Tomcat 5 nothing appears in the catalina.out.

Re: Logger issues

2004-02-24 Thread Jeanfrancois Arcand
Nathan Maves wrote: My webapp that is configured for logging work perfect on sun one app server but now nothing show up in the catalina.out on Tomcat 5. Any ideas? Humm...SunOne App Server uses Tomcat 5 and I don't remember fixing such problem when I integrated Tomcat 5 ;-) Are you sure your

Logger issues

2004-02-24 Thread Nathan Maves
My webapp that is configured for logging work perfect on sun one app server but now nothing show up in the catalina.out on Tomcat 5. Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: org/apache/tomcat/logging/Logger

2004-01-14 Thread Christopher Schultz
Jake, I got this error in one tomcat application java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger It looks like you're missing the log4j library for that particular application. Where you do you see anything about Log4j here? Sorry; complete brain fart, here. Yeah, thi

Re: org/apache/tomcat/logging/Logger

2004-01-13 Thread Jacob Kjome
Quoting Christopher Schultz <[EMAIL PROTECTED]>: > > I got this error in one tomcat application > > java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger > > It looks like you're missing the log4j library for that particular > application. Check the W

Re: org/apache/tomcat/logging/Logger

2004-01-13 Thread Christopher Schultz
I got this error in one tomcat application java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger It looks like you're missing the log4j library for that particular application. Check the WEB-INF/lib directory for a log4j-looking JAR file. It's also possible that the code wa

org/apache/tomcat/logging/Logger

2004-01-13 Thread adriacom6340
Hi all, I got this error in one tomcat application java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger This happens when I try to access one jsp file. Other applications with the same tomcat instance were working well. Can someone help me please

ClassCastException whilst extending Log4J Logger

2003-11-20 Thread Scerri, Antony (ELSLON)
Hi My scenario is that I am running a webapp consisting of JSP pages and Java classes. I have run this under WebSphere 5.x and Tomcat 4.1.x. I have overridden the Logger class in the same manner as in the Log4J example subclass/MyLogger.java. This allows per-thread logging levels to be altered at

RE: logger for context

2003-11-06 Thread Shapira, Yoav
Howdy, What tomcat version is this, and can you post the server.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: fabienne hadek [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 06, 2003 4:29 AM >To: [EMAIL PROTECTED] >Subject: logger for contex

logger II

2003-11-06 Thread fabienne hadek
Hi again Sorry, I found it. I just had to add a context in the server.xml. Somehow I thought that the admin tool would do it by itself but it didn't. Thanks, Fabienne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

logger for context

2003-11-06 Thread fabienne hadek
Hello I could use some help, this is what I did. I created a new logger for my webapp 'ic' in the administration tool The webapp still functions normally but when I try to look at it in the administration tool, I get the following error message: type Status report message Error

The Logger of ServletContext.log again!!

2003-11-05 Thread Timo
Thanks for the previous reply, but I checked the server.xml and made sure that my application has a logger element identified as: ... and I can see all deferent logging messages such as the outcome from Log4j Logger, System.out.println(..) , exceptions

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 : >

RE: Customizing Logger file names

2003-10-17 Thread Francois JEANMOUGIN
and other tomcat plug-ins. 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

RE: Customizing Logger file names

2003-10-16 Thread Shapira, Yoav
Howdy, >> Log4j does have these feature. The 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 log

RE: Customizing Logger file names

2003-10-16 Thread Francois JEANMOUGIN
he other CATALINA_BASE directories. The CATALINA_HOME directories are machine specific. > > Well, I'm a sysadmin :). I don't know that much about > programming. I > >hoped that log4j or another Logger would have this feature already. > As > I > > Log4j does

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 >competi

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. > > >Wha

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 Componen

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 hav

RE: Using jdk1.4 logger problem

2003-09-12 Thread Chan, Kam Yuen
Moving the the jar over to endorsed helped. But I am still having some problems. In short, our application is packaged up in 4 jars, plus some third party library jars. One of the jar is the framework jar, which contains the logger classes. Another jar contains classes for the Servlet'

Re: Using jdk1.4 logger problem

2003-09-05 Thread Adam Hardy
On 09/05/2003 05:16 AM Bill Barker wrote: But, some how the logger manager can't find the handler classes. (Class loader problem?) Yup, it's a CL problem. Unfortunately, it looks like the problem is in Sun's implementation of 1.4 Logging. Instead of using the ContextClassLoader, i

Re: Using jdk1.4 logger problem

2003-09-04 Thread Bill Barker
"Chan, Kam Yuen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am trying to load our App in Tomcat. > One of the initialization is being done by a Servlet, which is set to autoload. During this initialization, we also initializes the log

Using jdk1.4 logger problem

2003-09-04 Thread Chan, Kam Yuen
Hello, I am trying to load our App in Tomcat. One of the initialization is being done by a Servlet, which is set to autoload. During this initialization, we also initializes the logger, which are subclasses of the JDK1.4 logger classes. But, some how the logger manager can't fin

RE: Problem finding resource for logger

2003-07-16 Thread Shapira, Yoav
Howdy, >I have tried to put it almost everywhere in my war file, but i keep getting >the nullpointerexcpetion. > >Anyone have advise on where to put it, or how to load it ?? > >I use this code : > >//Initialise logger >String resource = "\\WEB-INF\\l

Problem finding resource for logger

2003-07-16 Thread Abid Ali Teepo
alise logger String resource = "\\WEB-INF\\log.xml"; URL configFileResource = BidServerProxy.class.getResource(resource); DOMConfigurator.configure(configFileResource.getFile()); Any pointers or sugg

Logger error

2003-06-13 Thread Sohail Muhammad
Hello, This is what i've got: JDK 1.4 and Tomcat 4.1 when starting tomcat i get this error: java.lang.NoSuchMethodError: java.util.logging.Logger.logp(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at org.apache.commons.logging.impl.Jdk14Logger.log

Re: Proper way to deal with serialization of session attribute with Logger attribute

2003-05-27 Thread Micael
At 12:31 PM 5/27/03 -0500, you wrote: Normally, loggers should be created as class static variable which are, effectively, transient already. Why would you want instance loggers anyway? Loggers are thread safe. Just make it static. You can deal with creating a new logger in the readObject

Re: Proper way to deal with serialization of session attribute with Logger attribute

2003-05-27 Thread Jacob Kjome
Normally, loggers should be created as class static variable which are, effectively, transient already. Why would you want instance loggers anyway? Loggers are thread safe. Just make it static. You can deal with creating a new logger in the readObject() when the object is deserialized

RE: Proper way to deal with serialization of session attribute with Logger attribute

2003-05-27 Thread Shapira, Yoav
nnium ChemInformatics >-Original Message- >From: Karr, David [mailto:[EMAIL PROTECTED] >Sent: Tuesday, May 27, 2003 1:10 PM >To: [EMAIL PROTECTED] >Subject: Proper way to deal with serialization of session attribute with >Logger attribute > >I'm using JDK 1.4.1, and Tomcat

Re: SMTP Logger

2003-03-26 Thread Chris Gokey
I posted my latest implementation to this site, in case anyone else is interested. http://home.attbi.com/~cgokey/java/logger/index.html Seems to be working fairly well. Thank you everyone for your comments. Chris On Tue, 2003-03-25 at 22:43, Craig R. McClanahan wrote: > On Tue, 25 Mar 2

RE: SMTP Logger

2003-03-26 Thread Shapira, Yoav
tions for sending emails, without writing any proprietary code such as your own logger, that you would have to maintain. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Chris Gokey [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 25, 2003 9:48 PM >To:

RE: SMTP Logger

2003-03-25 Thread George Sexton
; do MARKERFILE=`echo $FILE | cut -f1 --delimiter="."` logcheck ".$MARKERFILE" $FILE done -Original Message- From: Chris Gokey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 7:48 PM To: Tomcat Users List Subject: Re: SMTP Logger Hi everyone, Ba

Re: SMTP Logger

2003-03-25 Thread Chris Gokey
hris Gokey <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To: Tomcat Users List <[EMAIL PROTECTED]> > > Subject: Re: SMTP Logger > > > > Hi everyone, > > > > Back to this again.. Any help would be very appreciated. &

Re: SMTP Logger

2003-03-25 Thread Craig R. McClanahan
On Tue, 25 Mar 2003, Chris Gokey wrote: > Date: 25 Mar 2003 21:47:43 -0500 > From: Chris Gokey <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: SMTP Logger > > Hi everyone, >

Re: SMTP Logger

2003-03-25 Thread Chris Gokey
Hi everyone, Back to this again.. Any help would be very appreciated. I'd created a custom logger that will email errors rather than log them to a file system. Unfortunately, if I add another declaration to server.xml, it will not use the existing Logger (FileLogger). How can I make i

Re: Can't get logger/debug messages

2003-03-22 Thread p niemandt
Again I have no documented basis for my claims, sadly I'm one of those people that only RTFM after nothing else works, BUT ... what works for me ... Development: Add debug="100" wherever - I have never used verbosity="x", I didn't even know it exists, if it does ;-), but with debug="100" I tend

Can't get logger/debug messages

2003-03-22 Thread David Thielen
Hi; In server.xml I changed logging to Yet I get no additional messages. Any ideas? Also, I am assuming with a log level of 4, when I use my browser to get a servlet I think should show up - and instead I get an error, it will tell me why in the log. thanks - dave

Can't get logger/debug messages

2003-03-20 Thread David Thielen
Hi; In server.xml I changed logging to Yet I get no additional messages. Any ideas? Also, I am assuming with a log level of 4, when I use my browser to get a servlet I think should show up - and instead I get an error, it will tell me why in the log. thanks - dave

Re: Tomcat4 - Not use date in Logger Element File Name?

2003-03-12 Thread Tim Funk
off by adding: rotatable="false" -Tim Montz, James C. (James Tower) wrote: Is there anyway to get Tomcat to not put a date stamp on logs files created from a Logger element? I would like localhost.log NOT localhost_log.2003-03-11.txt It is becoming difficult to manage, and renders ap

Tomcat4 - Not use date in Logger Element File Name?

2003-03-12 Thread Montz, James C. (James Tower)
Is there anyway to get Tomcat to not put a date stamp on logs files created from a Logger element? I would like localhost.log NOT localhost_log.2003-03-11.txt It is becoming difficult to manage, and renders apps such as logrotate useless. Note: Timestamp="true" defines whether messa

Re: SMTP Logger

2003-03-09 Thread Chris Gokey
Looks this this was just my imagination. It was communicating fine with my Logger class. I've made some changes, so if anyone else is interested, you can download the latest version from: http://home.attbi.com/~cgokey/java/logger/index.html Although, for some reason it is overridin

Re: SMTP Logger

2003-03-09 Thread Chris Gokey
> > Is there alternatives to the FileLogger class? > > > >> prefix="catalina_log." suffix=".txt" > > timestamp="true"/> > > > > I'd like intercept any errors in Tomcat and mail these errors

Re: SMTP Logger

2003-03-09 Thread Chris Gokey
refix="catalina_log." suffix=".txt" > timestamp="true"/> > > I'd like intercept any errors in Tomcat and mail these errors to a > particular person. > > If not, can I add another Logger by specifying an entry like the above > in the se

SMTP Logger

2003-03-08 Thread Chris Gokey
Is there alternatives to the FileLogger class? I'd like intercept any errors in Tomcat and mail these errors to a particular person. If not, can I add another Logger by specifying an entry like the above in the server.xml and creating my custom Logger class? Is that all th

Re: log rotation - Logger Component

2003-01-24 Thread M
On Thu, 23 Jan 2003 12:37:52 -0500 "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > Howdy, > > >I see you can configure the directory, name (prefix/suffix) but what > about > >rotation > >It seems to be missing. Is there such an option? > > As

RE: log rotation - Logger Component

2003-01-23 Thread Shapira, Yoav
Howdy, >I see you can configure the directory, name (prefix/suffix) but what about >rotation >It seems to be missing. Is there such an option? As the docs for Logger (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html) indicate, there is current no such option.

log rotation - Logger Component

2003-01-23 Thread M
Hi, I see you can configure the directory, name (prefix/suffix) but what about rotation It seems to be missing. Is there such an option? Is tomcat using log4j, it looks like not? If it were/can how do you configure the lcf file to use? -- Regards, M Martin Sillence PR Newswire DL +44 (0)1

Re: Logs - Logger

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 02:23 pm, Lindomar wrote: > Well, here i´m again... > > How was explain to me, and i see after on tomcat's docs, if i want to save > all my System.out.println on log file, is necessary i place on server.xml, > as following: > > > ... > > > > > > > > ... > > > > But

  1   2   >