Thanks Ralph. I use logging throughout the application, as well as
during initialization. It has helped me many times to quickly debug
issues during development and testing. I can look into asynchronous
logging to see if it will work for me and help with the performance issue.
Lisa
On 11/21
hoice if I want to deal with the performance hit to
do that. It wasn't much of an issue in Java 8. For some classes I may
need to turn it off so as not to slow down testing too much, or change
the level I am logging unless I really need the trace.
Lisa
On 11/21/2020 12:33 AM, Ralph Goe
hoice if I want to deal with the performance hit to
do that. It wasn't much of an issue in Java 8. For some classes I may
need to turn it off so as not to slow down testing too much, or change
the level I am logging unless I really need the trace.
Lisa
On 11/21/2020 12:33 AM, Ralph Goe
artup, but it's more of an initialization of a
lot of things after the application has been started, and I provide it
with login credentials (it requires a login). There is another area
where a lot of trace logging happens where I also see the performance
issue with log4j.
Lisa
On 11/
va 11?
Lisa
On 11/19/2020 6:06 PM, Ralph Goers wrote:
> I am assuming you captured the snapshot from your profiling session? If so it
> would be great it you could send it to me. I can email you privately with a
> dropbox location where you can place the file if that will work for you.
&g
Thank you for the suggestion. I will do that.
Lisa
On 11/19/2020 5:51 AM, Volkan Yazıcı wrote:
> In the light of what Ralph mentioned about %L pattern, @Lisa, would you mind
> seeing if simplifying the pattern (that is, removing certain directives bit
> by bit, e.g., starting with
Than you for the input. I have added all of the apache jar files I need via
Classpath, and have no need to modularize my application. Still having issues.
My build is being created with ANT. Will try the profiling as soon as I can and
get back to you.
Lisa
Original Message
the jar
files needed by Apache FOP. Problems with module descriptors and
exceptions related to export of classes. Some of it is interactions with
classes used by log4j. Until I can figure out how to resolve these
problems I can only run under NetBeans. Not sure what NetBeans is doing
that allows i
plication
through NetBeans. I haven't tried starting the application from a
Windows Command window yet. Running into some other issues doing that.
Can anyone help me figure out if this is a log4j issue, or if there is
something I can change in how I'm using log4j with Java 11, so I can
re
Hi all -
I've been searching and have yet to find a definitive answer on how to
create a separate log file for each thread. I've read else where that the
simplest way is to use post processing, but for my application that is
difficult to do when debugging a live system. The best solution would
Jacob Kjome visi.com> writes:
>
>
> Change:
> -Dlog4j.configuration=c:\tmp\log4j.xml test
>
> To:
> -Dlog4j.configuration=file:///c:/tmp/log4j.xml test
>
> Or, just copy log4j.xml to the root directory of your compiled test
> classes and let Log4j autoconfigure itself.
>
> Jake
>
>
run mvn in? I put
log4j.xml in about every place I could think of with no luck.
Currently the log4j.xml is in the same directory as pom.xml where I run mvn test
from.
thanks, still trying to figure this one out with no luck.
Lisa
I have written some JUnit tests and put them in the standard layout for test
cases under Maven. The tests use log.debug(msg), log.info(msg) etc.
The tests run OK.
So now I created a simple log4j.xml file with an appender and a logger that
filters only the logging messages in my test case (by pac
apache.myfaces" property of
for example would be the way the logger knew to only log debug/info from
everything containing that package name.
If I name it anything I want, like name="idMyfaces" how does the logger limit
output confined to "org.apache.myfaces.*" ?
Is t
ttribute value "com.presence" of type ID must be unique within
the document.
So how do you have two loggers that limit to the same package but different
levels (debug,info)?
Thanks
Lisa
-
To unsubscribe, e-
n my web application (war), which is then
deployed to Tomcat (which is now configured to use log4j)
---
Also is is possilbe to specify that the log file should go under
$CATALINA_HOME/logs?
How do I specify in the XML file where the log file should go?
Thanks
16 matches
Mail list logo