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
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
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
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
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
>
>
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
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
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
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
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
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)
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
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(...);
>
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
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
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
;
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.");
}
}
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
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:
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
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
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
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
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
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?
--
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
;
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,
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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 :
>
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
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
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
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
> -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
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
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
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'
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
"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
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
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
alise logger
String resource = "\\WEB-INF\\log.xml";
URL configFileResource = BidServerProxy.class.getResource(resource);
DOMConfigurator.configure(configFileResource.getFile());
Any pointers or sugg
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
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
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
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
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
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:
; 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
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.
&
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,
>
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
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
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
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
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
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
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
> > 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
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
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
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
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.
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
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 - 100 of 144 matches
Mail list logo