I believe the renaming time can become significant depending on the platform.
Unless wrapped in an async appender, this can cause the rollover logic block
the caller for an extended period of time.
On May 7, 2012, at 9:11 AM, aanjaneya shukla wrote:
> Hi,
> Is there any specific reason for hav
Several different approaches could accomplish your goal. The most straight
forward likely would be to specify a custom layout class in your configuration
and would require no modification of your code. Unless the layout in an
appender wrapped by an AsyncAppender, the layout will be run in the c
If an uncaught exception occurs on the worker thread in AsyncAppender and the
worker thread dies, then AsyncAppender will fall back to synchronous behavior.
Possibly, you are seeing this synchronous behavior after death of the
AsyncAppender worker thread.
On Jan 6, 2009, at 5:12 AM, amitshinde
On Oct 7, 2011, at 3:47 PM, Scott Deboy wrote:
> RewritePolicy and RewriteAppender are included in the log4j receivers
> companion (source only currently).
>
They are also in log4j, but only if built from the SVN source. They have not
been yet been included in a release.
--
If you are proposing an article for publication on logging.apache.org, the
process would be similar to making a code contribution. Propose the addition to
log4j-dev with a detailed description of content, language, length, etc, and
see if there is any feedback and anyone who would like to help a
This is likely a known problem with the Tomcat class loader that was resolved
in Tomcat 5.5.29. Update to Tomcat 5.5.29 or later or set
ENABLE_CLEAR_REFERENCES=false in your Tomcat configuration, see
http://logging.apache.org/log4j/1.2/faq.html#unload
https://issues.apache.org/bugzilla/show_bu
Set the logger's level to the lower level and one of the appenders to a higher
level. The event will get pass the check on the logger and will pass the check
on one of the appenders and not the other.
log4j.logger.com.foo.hello=DEBUG,FOO_1,FOO_2
log4j.appender.FOO_1.threshold=ERROR
On May 17,
If it can be in the body of the email, then there are many ways that you could
customize the rendering of the message. Since it appears to be a very low
frequency occurrence, you could do something like:
if(logger.isErrorEnabled())
{
string msg = "Client " + clienName + " encountered unexpe
There is an intro on the website,
http://logging.apache.org/log4j/1.2/manual.html. Maybe that will not answer
your question, but it will provide some background that may help you formulate
your question. As it is written, it is unclear whether your situation is:
a) There is an existing append
You can specify a system property on the command line and expand it in the
configuration.
java -DrootLevel=INFO ...
and in your configuration file do:
log4j.rootLogger=${rootLevel}
On May 23, 2011, at 2:58 PM, Andy Flury wrote:
> Hi All
>
>
>
> Is there a way to set the root log level on
You can configure either one of the built-in throwable renderers or provide
your own. Look at tests/input/xml/throwableRenderer1.xml for an example of
configuration. See org.apache.log4j.EnhancedThrowableRenderer
(http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/EnhancedThrowableRe
On Feb 28, 2011, at 4:41 AM, Martin Nyolt wrote:
> No idea, anyone?
> Appearently, this has to work somehow, since using a configuration file you
> can set the follow-option to be true without closing any stream.
> But I never found any hint how to do this.
>
> Am 18.02.2011 15:01, schrieb Mart
fically documented or not, but it
> works.
>
>
> Jake
>
> On 2/20/2011 10:30 PM, Curt Arnold wrote:
>> XML entity references can be used for that purpose and are defined in the
>> XML Recommendation (http://www.w3.org/TR/xml/#sec-references).
>>
>> >
XML entity references can be used for that purpose and are defined in the XML
Recommendation (http://www.w3.org/TR/xml/#sec-references).
]>
...
...
On Feb 20, 2011, at 6:35 AM, Thomas Wiedmann wrote:
> Hello,
>
> usually in flat plain text log4j.config files global system properties can be
On Feb 10, 2011, at 12:48 PM, Hugo Villeneuve wrote:
> Hello
>
>
>
> I have a different behaviour when I use DailyRollingFileAppender vs the
> RollingFileAppender.
>
>
>
> My setup is the following: Running in WAS (on AIX 6.1), I have 2 separate
> WebApplication. Each have a Log4j Instance
Is there a standard for that notification? I don't see it in RFC 5424
(http://tools.ietf.org/html/rfc5424).
On Jan 30, 2011, at 7:01 AM, am am wrote:
> Hi,
>
> I want to use the SyslogAppender as a client to a syslog server.
> If the logging limit is reached, syslog server sends an ale
The duplication was reported in
https://issues.apache.org/bugzilla/show_bug.cgi?id=43282 and is fixed in the
SVN HEAD.
On Jan 14, 2011, at 2:11 PM, Gary Gregory wrote:
> I count only on " com.sun.jdmk.comm;resolution:=optional" in:
>
> Import-Package: com.ibm.uvm.tools;resolution:=optional,co
On Dec 16, 2010, at 9:02 AM, 刘东 wrote:
> tanks for you reply.
> I write test program to show my appliaction case.
>
> package com.iss.cnooc.test.ebank;
> import org.slf4j.Logger;
> import org.slf4j.LoggerFactory;
> public class LoggerTest
> {
>Logger logger = LoggerFactory.getLogger(LoggerT
On Dec 13, 2010, at 10:54 AM, Jacob Kjome wrote:
> You will get better performance by not logging at all, no question. However,
> there are tuning possibilities. I see you mention "logger.info()". In
> production, I generally only have "warn()" and above for the vast majority of
> loggers.
Should be as simple as switching the jars out. Extras is still built and
tested against log4j 1.2.9 and should work on that and all later releases.
Most of it should work work with log4j 1.2.8 and earlier too.
On Dec 2, 2010, at 12:01 PM, Mohan wrote:
> Hi All,
>
> I want to make use of com
On Nov 19, 2010, at 12:10 PM, Don Raikes wrote:
> Hello,
>
> Ok so now I just need a working example of a log4j.properties file.
>
> My desire is to have a console logger with level debug and a file appender
> with log level = warn.
>
> I have been away from this for a while, but now need to
Comments in-line
On Nov 3, 2010, at 10:55 AM,
wrote:
> At startup, I get the following errors:
> log4j:ERROR Element type "rollingPolicy" must be declared.
This also occurs with earlier versions of Apache log4j and is due to the lack
of a definition of rollingPolicy in the log4j.dtd. The la
The motivation for making the class final is that it was designed to be
extended via the TriggeringPolicy and RollingPolicy classes. Joshua Bloch's
design pattern of design for inheritance or prevent it.
If you can accomplish your goal by providing a custom TriggeringPolicy or
RollingPolicy th
You could specify an alternative LoggerFactory to the logger hierarchy. The
factory would get called on the first request for a specific logger at which
time would could attach appenders et al.
If you are continuously adding directories, you could start exhausting
resources since there is no
There was a duplicated package in the import declarations which caused the
manifest to be rejected. It should be fixed in the SVN HEAD.
On Jul 8, 2010, at 6:18 AM, Lars Fischer wrote:
> Hello,
>
> I would like to use log4j 1.2.16 inside an eclipse OSGi project and
> tried to add the log4j-1.2
Ralph Goers has been elected to join the Logging Services Project Management
Committee. Ralph is an Apache Software Foundation member and is also member of
the Attic, Cocoon, Portals, Excaliber, Incubator and Maven PMCs. Ralph has
recently contributed to the log4j 2.0 sandbox and has particip
Export status of Apache software is at http://www.apache.org/licenses/exports/.
Apache log4j is not listed as it is not known to contain cryptographic
functionality or to be specially designed to use other software with
cryptographic functionality.
Please see the disclaimer on that page and co
On May 10, 2010, at 5:48 AM, Huber Christian (IT-DIWA) wrote:
> I would use it when I will try to implement the usage of this class, but so
> far I am trying to understand how those properties should/can be set.
>
I may be off on some nuance, but I believe %properties is a synonym for %x in
On Apr 16, 2010, at 8:57 AM, Mohan.Radhakrishnan wrote:
>
> I need a filter that uses regex in log4j.xml.
>
> The XML validation complains. CDATA is understood by log4j ?
>
> param name="Expression"
> value="^[]+)>(.+?)"
log4j uses the current default parser provided by
On Apr 16, 2010, at 7:03 AM, Baskaradoss, B - SPLXM wrote:
> Hi All,
>
>
>
> I've attached my part of log4j.xml file below, Can any one explain me
> what does that debug="false" mean in first line below?
>
>
Setting it to true would enable log4j's internal logging to the console, false
is
On Apr 13, 2010, at 2:25 AM, Mohan.Radhakrishnan wrote:
>
> 1. I had to copy the newer DTD from the Apache extras JAR to the log4j JAR.
> 'rollingPolicy' was not recognized by the older DTD. Is this right ?
rollingPolicy is in the DTD in log4j 1.2.16 which can be downloaded from
http://www.apa
You did not mention your platform, but I believe that behavior has been
observed on Windows platforms when the file is open by another process which
will result in any attempt to rename the file to fail. Since renaming never
takes place, the file can never successfully roll.
---
On Mar 29, 2010, at 2:05 PM, Deric Page wrote:
>if (fileAppender != null) {
>String logFolder =
> ((RollingFileAppender)fileAppender).getFile();
>logFolder = logFolder.substring(1,
> logFolder.lastIndexOf(File.pathSeparator));
>logName = logFolder + File
Renaming on Windows might be substantially slower, but I don't have any
numbers. Regardless, it would seem to be better to accept the declared
intention of the configuration.
On Mar 23, 2010, at 10:45 AM, Doal Miller wrote:
> I took the FixedWindowRollingPolicy from the extras jar and changed
Not sure exactly what you mean by start path, but you use do
which would evaluate to the current working directory when the configuration is
read or you could use your own property (set on command line or using
System.setProperty() before configuration) instead of user.dir.
Otherwise, you wou
Yes, appenders can be attached at multiple places in the hierarchy. An
appender can also be attached multiple times to the same logger or on two
different levels of the hierarchy (for example if you attached A1 to the
rootLogger), both of which can result in an appender processing the same even
On Mar 17, 2010, at 10:13 AM, Tasso Angelidis wrote:
> I'm using log4j in a pretty vanilla way... No extra applications logging to
> the same file... 1 logger per class. Using RollingFileAppender...
>
> Is the file exclusively locked or share locked?
>
> And for Windows we all know that someti
Thanks for your contribution. I'm currently working on modifying the
EnhancedPatternLayout tests so that EnhancedPatternLayout and its tests can be
integrated into log4j core. I'll take a look at your patch as soon as I get
all the tests working again.
On Mar 12, 2010, at 4:24 PM, Cyrille Le
On Mar 15, 2010, at 6:48 PM, Doal Miller wrote:
> I've been playing around with the RollingFileAppender out of the extra jar
> and I've gotten it working in a couple of different ways but I'm not getting
> exactly what I want.
>
> What I want is to roll a file when the maximum size is reached
On Mar 10, 2010, at 10:37 AM, Stefano Nichele wrote:
> Hi all,
> looking for perfomance issue in my server application, I found that
> AppenderSkeleton.doAppend method is synchronized.
> I google a bit and I have found some messages but not a clear anwser to my
> doubt: why that method is synch
On Mar 2, 2010, at 3:38 PM, David Dabbs wrote:
> Has this been shelved?
>
Some other issues came up during my last window of availability to push to
release. I expect to try again to get a release candidate out either this
weekend or next.
On Feb 19, 2010, at 9:07 AM, Bruno Melloni wrote:
> I know I'll again be writing a unified DailyRollingFile/RollingFile appender
> for my current job in the future.
>
> Is there any chance to get it included into the main distribution if I
> contribute it? If yes, what standards would it ha
Unless the user has configured otherwise, log4j just outputs the results of
Exception.printStackTrace(Writer). Any truncation occurs within the
implementation of printStackTrace, likely way back in the JVM and could be
controlled by any configuration supported by the JVM. However, I was not ab
Check out the EnhancedPatternLayout in the log4j extras companion,
http://logging.apache.org/log4j/companions/extras/. It is an enhanced version
of PatternLayout that is usage-compatible. Basically, add log4j-extras.jar to
your path, change the Layout class to EnhancedPatternLayout and use a p
As I mentioned before, I'm fairly confident that you did not compile your
.class files with debug info, so there is no file or line numbers for log4j to
output.
On Jan 22, 2010, at 1:14 AM, Thomas Wiedmann wrote:
>> What type of appender are you using
> ConsoleAppender, DailyRollingFileAppen
The class making the logging request was compiled without debug information.
Since there is no file or line number in the .class file, log4j outputs ?.
Recompile with -g or -g:lines to build your classes with debugging info.
On Jan 19, 2010, at 12:58 AM, Thomas Wiedmann wrote:
> Hello,
>
>
You did not specify what argument you passed to the command line for "MyApp3".
Neither the book or the docs make a big deal that the argument to
XMLConfigurator.configure(String) is expected to be a URI and not a file spec.
If you passed a relative URI, I could see a parser complaining about n
The SVN HEAD implementation of QuietWriter currently has checks on the string
parameter and exception catching that I believe have been added since the
version that you are using. Look at bugs 46144 and 46574 and see if they have
any similarities to your situation.
From the stack trace, it als
What version of log4j is in use? Platform? AsyncAppender was significantly
modified a few releases ago. If you are not using log4j 1.2.15 or later, could
you test if the same behavior occurs with the current log4j code?
On Dec 15, 2009, at 8:06 PM, Hongli Zeng wrote:
> Hi team,
>
> Recent
On Dec 8, 2009, at 3:48 PM, mc1392 wrote:
>
> Is there any way to get the log entries to have the most recent on top?
> Currently I am using html layout and the newest entry ends up at the bottom
> of the file.
> I'd like the newest on top.
>
Appending content is within the capabilities of jav
I can't think of one, but you should be able to do it with the
org.apache.log4j.rolling.RollingFileAppender in the extras companion
(http://logging.apache.org/log4j/companions/extras) using a custom triggering
policy.
On Dec 6, 2009, at 10:30 AM, Ohad Ben Porat wrote:
> Hey,
>
> I am using t
The RollingFileAppender framework in the extras companion
(http://logging.apache.org/log4j/companions/extras/index.html) would be a
better starting point. Much more designed for extensibility than
DailyRollingFileAppender but offers the same features when properly configured.
You should be ab
Please read the FAQ on Tomcat class-loading at
http://svn.apache.org/repos/asf/logging/log4j/trunk/src/site/fml/faq.fml.
There are ways to reconfigure Tomcat (and most likely Glassfish) that will
avoid the issue if you can't update to a release that has the bug fixed.
--
On Nov 16, 2009, at 7:51 PM, Brett Randall wrote:
Hi Pat,
I don't know Glassfish as well as other containers, but according to
Wikipedia[1], "It uses a derivative of Apache Tomcat Apache_Tomcat> as
the servlet container for serving Web content"
You mentioned that this problem occurs when de
On Nov 16, 2009, at 11:17 AM, Pat Farrell wrote:
Yair Ogen wrote:
do you have log4j extras jar in your classpath?
Did know I needed it, so no
Where do I find it?
Slightly OT, but why not just include the classes in the standard
distribution? Is it that big?
http://logging.apache.org/log4
Any chance that you are running this under Tomcat and this is
occurring after a reset? Tomcat had an issue with clearing out
private static members of classes but still leaving them in a callable
state.
-
To unsubscribe, e
The log4j 1.2 date and date caching code is problematic and was
replaced in the abandoned log4j 1.3 effort which was then back-ported
in the EnhancedPatternLayout in the extras companion. If you goal is
just to side step the issues, then I would recommend using the
EnhancedPatternLayout.
On Nov 15, 2009, at 2:25 PM, Brett Randall wrote:
What is in common.xml, and is it valid according to the dtd?
Brett
The message is reporting that the content after common.xml is merged
is not valid according to the DTD. The DOMConfigurator is less strict
than the DTD that specifies (i
On Nov 8, 2009, at 2:18 PM, Pat Farrell wrote:
Curt Arnold wrote:
Unfortunately, log4j 1.2 was designed in a era where concurrency
was not
as significant a concern.
As was typical of Java at the time.
The times have changed.
There has been a desire, but no active development, for a
On Nov 3, 2009, at 6:13 AM, paul womack wrote:
I've been using Log4j succesfully for around 4 years now,
but I think I've recently hit a limitation.
I currently have multiple "leaf" loggers connected to multiple
appenders,
using additivity=false.
The appenders are all RollingFileAppenders.
On Oct 16, 2009, at 10:17 AM, Fernando Wermus wrote:
I need to set up log4j to send emails using starttls. But I see
there is a
lack of funcionallity for starttls. Have you upgraded log4j to
contemplate starttls?
Thanks in advance
The current SVN HEAD, hopefully 1.2.16 in a few weeks, all
On Aug 27, 2009, at 3:07 AM, Leela Mallipudi wrote:
Hi Apache support,
We are facing one problem with log4j.properties file.
Environment details: Documentum Content Server 5.3 sp6, Web
sphere server 6.0 and jdk version 1.4.2 in AIX sp4.
Problem Description :We are creating 50 bac
On Aug 18, 2009, at 7:19 AM, Gurdeep Singh wrote:
Hi All,
We are writing an application whose sole purpose is to log incoming
requests. Since the volume of requests would be huge, would Log4J be
suitable for such an application or there are performance issues.
Thanks,
Gurdeep
log4j (
On Aug 21, 2009, at 12:52 PM, Aa Bb wrote:
Hello,
I am using various appenders in my xml configuration file, i.e.
Console, RollingFile, and SocketAppender.
My NTEventLogAppender however is not working.
Computer Config: Windows XP Service Pack 2
Log4j: log4j-1.2.15
I Did This: C:\windows\sys
On Aug 21, 2009, at 7:02 AM, Francis ANDRE wrote:
lHi
I got this well known WARN from log4j but cannot find out what's the
problem is. Can someone help solving this issue??
Here the trace for log4j and the initiator.log4j configuration file
joined.
Thanks in advance.
class=
There is a bug report for it as an enhancement to the extras
companion. LogMF and LogSF in the extras provides parameterized
logging methods for info, etc. Adding enter and exit methods would be
good enhancement.
https://issues.apache.org/bugzilla/show_bug.cgi?id=43277
On Aug 20, 2009,
On Aug 12, 2009, at 4:16 AM, sukesh jain wrote:
Hi,
But MDC requires that you know the key well in advance to be put in
the configuration file which is not possible in my case.
Thanks & Regards,
Sukesh
The ExtendedPatternLayout in the extras companion has a specifier
(either just a p
On Jul 29, 2009, at 10:09 AM, pedrofaundez...@terra.es wrote:
Loren Siebert wrote:
You could try using the StackHub service.
http://www.stackhub.com
The use case you describe below is the main reason I built StackHub.
It will coalesce these errors (even across multiple instances of your
Gmail does not accept unencrypted connections on port 25 (common now
for public mail servers, but not the case when log4j was first written).
Support for SMTP over SSL (port 443 if I remember correctly) was added
to the log4j code base last fall, https://issues.apache.org/bugzilla/show_bug.cg
Did you explicitly register the DLL with regsvr32 or equivalent (like
an installer program) as administrator? The DLL does try to register
itself when used, however that is blocked under Windows Vista by
default and may be blocked under earlier versions by configuration.
On Jun 18, 2009,
On Jun 4, 2009, at 2:44 PM, Ramya K Grama wrote:
Hi there,
I am trying to setup log4j logging in my axis2 web service running
on Tomcat
5.5.
The jars are in the right place.
However, the axis2.log file that gets created is empty with no
contents.
My log4j.properties file is:
log4
Actually surprised, I thought there was a upper limit on the
maxBackupIndex. If you have a high maxBackupIndex and a file rolls,
it will attempt to sequentially rename all the files.
Renaming is a risky and time-consuming operation, it would be much
more reliable and faster if an appender
On May 12, 2009, at 12:31 AM, Linnemann, Gerrit wrote:
Hallo,
I'm using the DailyRollingFileAppender. The Tomcat runs 24/7. But
I've to restart Tomcat to get a new log file. It seams that log4j
only log until midnight. So I lost information.
Here is my configuration:
class="org.apache.
I believe the org.apache.log4j.rolling.RollingFileAppender in the
extras companion has that ability. The org.apache.log4j.rolling.RFA
are the backported RFAs from the abandoned log4j 1.3 line.
On May 12, 2009, at 7:13 AM, sarat kumar wrote:
Hi all,
I have a question on the renaming strat
On May 5, 2009, at 5:17 PM, Martin Fernau wrote:
Hello,
I've a problem adding a Filter at runtime.
My log4j.properties looks like this:
--- cut
log4j.rootLogger=info, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
---
On Mar 25, 2009, at 12:29 PM, Scott Deboy wrote:
I'm not sure what format log4cxx's SocketAppender uses to send logging
events.
Try using an XMLSocketAppender on the log4cxx side and an
XMLSocketReceiver
on the SimpleSocketServer side.
log4cxx 0.9.7 (a pre-ASF release) used a platform dep
Since the timestamps are different, I don't think it is one event
being appended multiple times which is what I think Jacob suspects.
You'd want to add a filter to the appender, but there is not a built
in filter that does what you want.
Not quite what you are looking for but search the arc
A better way to handle this case is to have a custom appender that
routes the message to the appropriate file (which be delegating to a
RFA if you so desire). Search the dev archives for the
MultiFileAppender to read previous discussion on the topic and links
to the sandbox implementation.
On Feb 16, 2009, at 3:54 PM, Pat Farrell wrote:
I know this can be done, but I can't figure out how to configure
log4j.properties to send log messages from libraries/packages to
separate streams. I get all of my output in one log file.
I've read all of "The complete log4j manual" by Ceki Gülcü
On Feb 12, 2009, at 5:30 PM, Mohit Anchlia wrote:
I am trying to log DEBUG and up in one log file and INFO and up in
other log file. But it doesn't seem to be working. I have tried
various things like "Level", "Threshold", "additivity", "Priority"
etc. Nothing seems to be working. Nothing is be
On Feb 12, 2009, at 5:30 PM, Mohit Anchlia wrote:
I am trying to log DEBUG and up in one log file and INFO and up in
other log file. But it doesn't seem to be working. I have tried
various things like "Level", "Threshold", "additivity", "Priority"
etc. Nothing seems to be working. Nothing is be
A NullPointerException coming from deep in JMS would only be
appropriate if the one of the parameters to the Context.lookup was
null when it was documented that it should not be null.
I'd use a different value for the TopicConnectionFactoryBindingName.it
looks like your JMS impl may have pr
On Feb 11, 2009, at 9:52 AM, Steve Cohen wrote:
I have been all over the documentation and I can't find something that
tells me succinctly what the DEFAULT behavior in regard to
configuration
reloading (PropertyConfigurator.configureAndWatch() or
DOMConfigurator.configureAndWatch()) is. My
On Feb 7, 2009, at 12:40 PM, Mayer István János wrote:
Hi,
I use log4J 1.3 (becouse the application will run under os4690 and
there are java 1.4)
log4j 1.3 is a dead branch. Several features from log4j 1.3 have been
back-ported to work with log4j 1.2. You can use it if you want, but
On Jan 28, 2009, at 2:29 PM, Ashish Kulkarni wrote:
HiNormally i load log4j from properties file or XML file,
If i have properties file i initialize using PropertyConfigurator,
or if XML
file initialize using DOMConfigurator.
Can i possible load these properties from a database?
The Prope
Once you have a generic Appender object, which could be any one of a
number of appender types, many of which do not have file names, you
should test whether it is an instance of FileAppender and then call
the getFile() method.
if (logger.getAppender("A1") instanceof FileAppender) {
Stri
On Jan 26, 2009, at 4:27 PM, Brian Hawkins wrote:
I've liked the log4j Logger except for two things. The first is
that I have
to pass my class name to the logger when I get it, for example:
private static Logger myLogger = Logger.getLogger(MyClass.class);
This is fine but it is prone to cu
On Jan 26, 2009, at 4:12 AM, Mohammed Mansoor wrote:
Our application takes a backup of files selected from the folders
specified
by the user.
The backup log is written using the Log4j (log4j-1.2.11.jar).
When the backup is taken in Chinese language, the backup log is
written and
it shows
On Jan 23, 2009, at 7:02 AM, DOUTCH GARETH-GDO003 wrote:
How can I configure a logger to log to two appenders simultaneously at
different levels, i.e. file at debug (+ higher) and socket at info (+
higher)?
This is my properties file:
log4j.logger.myapp=debug, ROLLING_FILE, CHAINSAW_CLIENT
l
The stalled MultiFileAppender effort might be worth a look. It is in
the sandbox area and is in a somewhat usable state, but is subject to
some dramatic changes (such as rebasing to use java.nio) when
development picks up again. Basically, the idea is that one appender
manages a controlle
On Jan 19, 2009, at 7:05 PM, Arindam wrote:
On Mon, Jan 19, 2009 at 11:52 PM, Curt Arnold
wrote:
You can use external entities which the XML parser will resolve
before
log4j see anything. For example:
]>
&common;
I believe earlier versions of log4j had proble
On Jan 18, 2009, at 10:41 PM, Arindam wrote:
Hi, I am faced with a problem. I have multiple java-modules which
run as
daemons, and am configuring their log4j.xml configuration.
I would like the individual xml configuration files to pick up the
stdout /
email appenders from a core file, and
On Jan 7, 2009, at 6:30 PM, agEE wrote:
Thanks for the reply,
I am already specifying the following. sorry if it did not show up
in the
original thread
class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
I have not luck with that in my log4j.xml file. Is there
On Jan 7, 2009, at 5:17 PM, agEE wrote:
I am using log4j.1.2.15 and the rollever works fine. But i am not
able to get
the files to compress. Has any one succeed in getting the
RollingFileAppender/ TimeBasedRollingPolicy to work correctly.
There are unit tests that check this behavior, b
On Jan 2, 2009, at 12:04 PM, Jacob Kjome wrote:
Hi Curt,
What does the following mean?...
On 1/1/2009 8:27 PM, Curt Arnold wrote:
Use per-application copies of log4j, that is remove log4j.jar
from
WEB-INF/lib.
I think I cut and pasted from suggestions on the mailing list. Tomcat
On Jan 2, 2009, at 12:10 PM, Jacob Kjome wrote:
Does this happen ever single time your log line is called or just
sporadically?
You point out that you have enough disk space, but are you running
Java with a
user having write permissions? Is the log file actually being
created?
Jake
On
You are most likely encountering a known Tomcat bug where unloaded
classes can be inadvertently used during static initialization of
other classes. There is a patch for Tomcat which has been integrated
into Glassfish, but there has been no action to integrate it into
Tomcat. If you can't
Sorry about being a little slow to respond recently, but I've been
working on wedding plans. Julie Ferguson and I are marrying in New
Braunfels, TX on December 27th. Julie and I have known each other a
little over 6 years as friends and we kept in touch infrequently after
she moved away f
On Nov 17, 2008, at 11:36 PM, Dulanjanie wrote:
--
Hi,
Is there a way we can use both the log4j.xml file and the
log4j.properties file?
cant seem to find an answer to that...
thanks!
The default configuration strategy will load log4j.xml preferentially
over log4j.properties. However, y
On Nov 12, 2008, at 5:40 PM, Joe White wrote:
I'm trying to use the SMTP Appender but my mail host requires
authentication.
What are the poper log4j.properties entry for username, password
and the port?
My host runs off of port 26, not 25.
log4j.appender.YOURAPPENDERNAME.smtpUs
1 - 100 of 561 matches
Mail list logo