At 11:40 PM 19/08/2001 -0700, Sajid Shaikh wrote:
>Is there a way to change the type of logging without restarting the
>application. We are using a property file to specify the categories and
>priorities when the application starts. If we change this property file is
>there a way that log4j will a
At 10:03 AM 18/08/2001, DARYL HANDLEY wrote:
>Has anyone figured out a way to configure log4j so that the log pattern will
>be influenced by the priority of the message logged ?
>
>When I log a DEBUG message, I want to print out the class name, method, and
>line number that the logging message occ
At 04:11 PM 15/08/2001, Chien Wei Tan wrote:
>hi rob,
>
>thanks... i understand how to log different priorities to different
>appenders... but i m actually after logging different layouts to different
>priorities... any ideas?
That's what Ceki is suggesting, something along the lines of (note th
At 04:08 PM 15/08/2001, Chien Wei Tan wrote:
>Hi,
>
>How would I use log4j to distinguish the log messages coming from different
>instances of the same class?
>
>Eg. MyClass m1 = new MyClass(); // output log messages to MyLog.log
> MyClass m2 = new MyClass(); // output log messages to MyLog.
At 11:00 AM 15/08/2001, Chien Wei Tan wrote:
>Hi,
>
>Would anyone know if it is possible to define different layouts (including
>conversion patterns) for different priorities, (either through the
>configuration file, or in the actual log4j classes), given a specific
>category.
>
>eg. MyApp is a
At 06:39 AM 24/07/2001, Mark Womack wrote:
>I know the documentation says that log4j makes no assumptions about the
>logging environment, and so when it cannot find a valid log4j.configuration
>property setting, it reports the error and does nothing...BUT is there a way
>where you can have it set
At 05:14 PM 20/07/2001, [EMAIL PROTECTED] wrote:
>thanks for the answers ..
>
>if i decide to use only one log4j.properties with tomcat , where can i put
>this log4j.properties file
>and how can i use logging system in my beans ? in every bean's method i
>have to set like that
>
>
>PropertyConfi
At 11:09 PM 19/07/2001, Gogia, Nitin wrote:
>Hi,
>I wud like to know if the user can enable/disable logging at runtime.
One approach is to call Category.getDefaultHierarchy().disableAll(); in
your code to turn of all logging by default. The user can override this by
setting the log4j.disableOv
At 11:09 PM 19/07/2001, Gogia, Nitin wrote:
>Hi,
>I wud like to know if the user can enable/disable logging at runtime.
From the FAQ
How can I reduce the computational cost of debug and info statements?
For public releases of your code, calling the
BasicConfigurator.disable(pri) method will d
At 12:53 AM 19/07/2001, [EMAIL PROTECTED] wrote:
>BACKGROUND:snipped
>
>QUESTION:
>
>Using the log4j.properties file alone, how can I properly configure this mess?
>The way it works now,
>the WLSLoginCategory set gets loaded as root and every class in the web-app
>which uses
>the other set of WebA
Does anyone have any thoughts on this issue ?
Robert
At 12:08 PM 11/07/2001, I wrote:
>I have a question on the best way to handle configuring log4j when
>multiple sub-systems/components each are using log4j. For example, if you
>use Struts and Cactus in addition to your own code then there a
At 10:13 AM 12/07/2001, Carolyn Wasikowski wrote:
>First: when should I configure Log4J? My Log4J experience, unfortunately,
>far outweighs my JSP/servlet experience, but I'm guessing that all I need to
>do is use a DOMConfigurator within the init() method of the first servlet
>that gets loaded
I have a question on the best way to handle configuring log4j when multiple
sub-systems/components each are using log4j. For example, if you use Struts
and Cactus in addition to your own code then there are 3 different users of
log4j that may require specific things to be setup at configuration
At 17:45 28/06/01, Robert Leftwich wrote:
>I'll get back to you as soon as I can generate something useful!
Well I generated something useful and it showed me the problem was in the
Barracuda code - there was a recursive call to log some information at
debug and info level that exhau
s
>Ctrl-Pause. When deadlock occurs could you see what that gives you?
I'll get back to you as soon as I can generate something useful!
Robert
>Regards, Ceki
>
>At 16:29 28.06.2001 +1000, Robert Leftwich wrote:
> >I am seeing what I think is log4j failing to handle a large nu
I am seeing what I think is log4j failing to handle a large number of log
messages and wanted to check if anyone else has seen a similar problem
before I spend time tracking it down (and I couldn't find anything similar
mentioned in the archives).
The scenario is Windows NT4+SP6, JDK 1.3.1, En
16 matches
Mail list logo