Curt Arnold apache.org> writes:
> The exception occurs since you specified that you wanted to use the
> classes "javax.faces" and "org.apache.myfaces" as implementations of
> the org.apache.log4j.Category contract. As previously noted, the
> term "logger" has replaced "category" long t
On Jan 16, 2007, at 8:13 PM, Lisa wrote:
Log4J startup gives the following error message:
log4j:WARN Attribute 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)?
The behavior is curious. I would guess that some other library is
configuring Log4j on it's own. This doesn't have to be via a config
file. It could be just doing it programmatically. I take it you
searched for both log4j.properties *and* log4j.xml. You only
mentioned the former, so I th
My advice: Don't split your logs into a Debug and Info log files.
Not that log4j can't do that (see more below) but seriously consider
that both the debug and info logs are even more useful when you have
the context of them together. So my advice is to have one file
appender, attached to
James Stauffer gmail.com> writes:
>
> 1. ->
> 2. Remove class attribute from category/logger.
> 3. Define a node at the bottom.
Thanks! but I still have a few problems. #3 node was not required. The
appender stayed the same. the category (changed to logger) now looks like this:
(note
More to add to this case:
- We are not using any special classloader, and there is no other
log4j.properties hanging around that the IDE or grep could find.
- We didn't extend the log4j code by writing Appenders or other classes.
- We are only using the basic Logger methods (.error() .warn(),
.i
1. ->
2. Remove class attribute from category/logger.
3. Define a node at the bottom.
On 1/16/07, Lisa <[EMAIL PROTECTED]> wrote:
I have read all the documentation I could find on using an XML config file for
Log4J (slim pickings) but can not figure out how to log INFO messages to a file
that
I have read all the documentation I could find on using an XML config file for
Log4J (slim pickings) but can not figure out how to log INFO messages to a file
that come from a specific package.
Any help would be appreciated.
I have a file appender that I want to limit to:
1. info
2. by packag
Dirk,
I have multiple instance of webapp applications .So currently i tried by
saving my log4j.xml file in WEB-INF/classes folder.
The file is been picked up, but i am getting the same warnings that i got
earlier without any file output( Ihave switched on the debug . mode)
log4j:WARN Cont
On Jan 16, 2007, at 7:32 AM, Surya Poola wrote:
Hi,
I hope DOM Configurator doesnot support rollingfileappender
(updated in1.3), because elements like rollingpolicy are not
identified by DOM Configurator.I have checked in log4j.dtd wich
allows only some specific elements like
(error
Rohan,
do you have multiple instances of tomcat or multiple webapps within tomcat?
anyway, typically one puts the log4j.xml in the WEB-INF/classes of each webapp.
it will then be picked up by JoranConfigurator (without doing anything explicit
in your code, except for a getLogger()). Do not use t
Hi,
I hope DOM Configurator doesnot support rollingfileappender(updated in1.3),
because elements like rollingpolicy are not identified by DOM Configurator.I
have checked in log4j.dtd wich allows only some specific elements like
(errorHandler?,param*,layout?,filter*,appender-ref*)".I have go
12 matches
Mail list logo