Hi,
I am getting NestableDelegate exception when XMLLayout.format is called. Below
is the stack trace of the call.
This is getting repeatedly invoked for every 5 sec thus causing the thread to
hang and finally results in the slow down of web application.
Any help would be much appreciated.
Hi all,
For better managing log4j, I propose add 2 features:
1. List all available loggers thru jmx
2. Correct threshold attribute type of log4j:type=HierarchyDynamicMBean mbean.
Now MBeanAttributeInfo return String type for this attribute, but
actually returned
type of the attribute is Lev
Hello,
Yes, the category is set to info.
I cleaned up my classpath, removing several un-needed jar:s and that
fixed the problem.
I'm guessing one of the jar:s contained log4j classes.
Regards,
Andrei
-Original Message-
From: Ruben Gonzalez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Mar
Hi,
We have been investigating memory leaks in the system we write (JAVA)
and we experianced the following problem on Red Hat 4.0 system.
Even though JConsole, and JProfiler do not show any improper memory
consumption in JVM, operation system tools like Top show that JVM
process consumes a lot
Wozniak, Marcin wrote:
> Hi,
>
> We have been investigating memory leaks in the system we
> write (JAVA) and we experianced the following problem on Red
> Hat 4.0 system.
>
> Even though JConsole, and JProfiler do not show any improper
> memory consumption in JVM, operation system tools like Top
I do not think using valgrind is even possible. Tested software is
quite complex, multithreaded server application. Beside the problem
insists after few days of long-duration tests.
BTW do you really think that Valgrind is useful for Java application
profiling? I guess it is more useful in C++ ap
Hello,
I am a long time user of log4j I the current project I'm working on
has a new requirement for rotating log files. I was happy to see that
this can been done by log4j.
However the two classes I saw were these:
- DailyRollingFileAppender - Rotates based on dateFormat
- RollingFileAppender
What is your log4j configuration?
On 3/21/07, Wozniak, Marcin <[EMAIL PROTECTED]> wrote:
Hi,
We have been investigating memory leaks in the system we write (JAVA)
and we experianced the following problem on Red Hat 4.0 system.
Even though JConsole, and JProfiler do not show any improper memory
1.2: Not will included appenders but I think someone made a custom
appender to do it. Search the archives.
1.3: I think it may be supported.
On 3/21/07, Martin Ritchie <[EMAIL PROTECTED]> wrote:
Hello,
I am a long time user of log4j I the current project I'm working on
has a new requirement fo
Wozniak, Marcin wrote:
> I do not think using valgrind is even possible. Tested
> software is quite complex, multithreaded server application.
> Beside the problem insists after few days of long-duration tests.
ok then, maybe not
>
> BTW do you really think that Valgrind is useful for Java
Check this class:
* CompositeRollingAppender combines
RollingFileAppender and DailyRollingFileAppender
* It can function as either or do both at the same
time (making size
* based rolling files like RollingFileAppender until
a data/time boundary
* is crossed at which time it rolls all of t
Sorry I was looking at the Intellij project built by maven. it didn't
include the contribs code. I see Kevin Steppe created a
CompositeRollingAppender that does just this. Sorry should have paid
more attention to the actual code and the archives. That said as it is
part of contrib this seems to ha
I would attemp to make a small program that prints the current data
and time in the same format to confirm that it is the JRE or OS. You
may need JRE patch that supports the changed DST dates.
On 3/20/07, Visvanathan, Meenakshi <[EMAIL PROTECTED]> wrote:
Hi,
We use log4j.jar to log our applica
I was trying to find out where my logging output was going in a J2EE
application [WebSphere _and_ ATG Dynamo - things just don't get any
uglier than that]
When I enabled log4j.debug, I saw that the log4j system was being
initialized twice, once by my log4j.xml and a second time from a
log4j.prope
If you can pursuade the library author to make a change maybe you can
persuade them to follow the best practices for libraries which
strongly discourage explictit configuration. There is discussion
about this in the archives.
Setting up repository selectors might be helpful.
On 3/21/07, Dave Le
Ultimately, logging is the concern of the user, not the library creator. As
such, the library creator should defer to the user to define the logging
configuration (or not if the user doesn't want to).
BTW, you'll find good list archives here
http://marc.info/?l=log4j-user&r=1&w=2
Jake
Quo
My gmail archive for this list doesn't go back too far. What is the
time frame for that discussion? I assume searching for 'library
configuration' should be a start.
This may also be promoted to a FAQ or 'best practices' document [wiki
page], so it becomes a resource to point to ["The consensus i
Be advised - java date and time calculations will still be inaccurate
even if the host OS has been updated with DST 2007 updates on older VM
builds. Per the Sun documentation regarding DST updates you still
must either patch your affected JRE with the free tz_update program or
upgrade to a newer
Hi ! I'm testing log4j in web applets. And I'm having questions about
configuration files.
Which location (path) is used to read the configuration file on applets
? I'm thinking the file is being get from web server, is it ok ?
Well, how to setup some configuration on client without affecting
It loads it from the classpath so just ensure that it is in the applet
classpath.
On 3/21/07, Luciano <[EMAIL PROTECTED]> wrote:
Hi ! I'm testing log4j in web applets. And I'm having questions about
configuration files.
Which location (path) is used to read the configuration file on applets
? I
Many thanks. But, is possible to put the properties in a system folder
like jre/lib without changing the classpath ?
I already tried it but no success.
James Stauffer escreveu:
It loads it from the classpath so just ensure that it is in the applet
classpath.
On 3/21/07, Luciano <[EMAIL PROTE
I've just thought of an idea I'd like to share. Most likely someone
has thought of this before, and probably implemented it, but just in
case...
One of the main weakness of logging in log4j, and probably other
logging frameworks is that, for the most part, the Logger is tied to
one dimen
I've wanted this feature for a long time - essentially, adding tagging support
to log4j!
I like the varargs idea - for backward compatibility we could use a string
array (or a Set of strings)?
Let's get a couple of API options posted and hopefully some feedback from users
- this could be the m
23 matches
Mail list logo