In a message dated Tue, 24 Sep 2002 1:36:43 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
>Given 3 categories "category1", "category2" and "SomeOther" how do I set up a
>log4j property file to
>only log messages of "category2" ?
>Are wildcards possible to e.g. only log "category*"
>bu
Hi,
sorry, this has already been posted but no-one seemed to be able to help me. A pointer
to some docu would be fine for
me - I have read the standard stuff and got it working too, it's great!
Given 3 categories "category1", "category2" and "SomeOther" how do I set up a log4j
property fil
Are you using NTEventLogAppender?
At 20:31 23.09.2002 -0500, you wrote:
>Can someone in-the-know please comment on this?
>
>This is my last major build problem. It really gets in the way because if
>I test my app in Tomcat (haven't tried other servers) and then need to
>shut the app down and
I tried to set this system property to get around the error "FileAppender
is not assignable to Appender" when log4j.jar is loaded by mutliple
class loaders.
However, it didn't work. I included the following line first in the
properties file:
log4j.ignoreTCL = true
I tried to set the property u
Can someone in-the-know please comment on this?
This is my last major build problem. It really gets in the way because if
I test my app in Tomcat (haven't tried other servers) and then need to shut
the app down and rebuild after making some changes, I can't clean up the
build because log4j.j
Shorn,
If you look in the current log4j cvs (see
http://jakarta.apache.org/site/cvsindex.html), you will find a package named
org.apache.log4j.filters. This package contains a current set of "useful"
filters that have been implemented for version 1.3; there are more to be
written yet. You will
Hi folks,
I know there is a LevelMatchFilter, which can be used
to only log if an event matches a given priority.
I know there is a StringMatchFilter, which can be used
to only log if an event message matches a given
string.
Is there a way for me to only log if the value
associated with a parti
At 15:57 23.09.2002 -0500, you wrote:
>If you are using the FallbackErrorHandler in your configuration, could you
>please provide an example property file? I found a couple examples (for an
>XML configuration) in the Zip file that came with Ceki's "log4j - The
>complete manual". However, I am us
If you are using the FallbackErrorHandler in your configuration, could you
please provide an example property file? I found a couple examples (for an
XML configuration) in the Zip file that came with Ceki's "log4j - The
complete manual". However, I am using a PropertyConfigurator. Can a
Fallbac
Thomas,
It's not like we are hiding or anything, geez. :-)
If you think you have a great change, then go ahead and submit them on the
log4j-dev list. I know the rolling appenders have generated a lot of
dicussion and suggestions.
The next major version of log4j is 1.3, and there is a plan
(htt
Comments embedded.
--- kumar kumar <[EMAIL PROTECTED]> wrote:
> Dear Sir/Madam,
>
> I am working on J2EE project.There i am using
> different design
> pattern in J2EE application.
> 1. Business Delegate
> 2. Session Bean/Entity Bean
> 3. DAO
> 4. Database
>
> I am interested to use log4j. Ple
I have created our own logger, and logger factory. This was in order to use our own
extended layout object and extended logging event.
The extended logger really only applies to some of our components that use a Specific
object, that relates to our own layout.
So these components make a call l
Collette,
Are you setting the "append" property for the appender to false? By
default, FileAppender is supposed to append to existing files. Not recreate
them each time.
Loggers that are referenced in the updated configuration file have all of
their existing appenders shutdown. Then the appen
We are having an issue with the configureAndWatch routine when we modify
the log4j.properties file, the log that is currently been written to is
zero'd out and overwritten when a change is detected. Is this the correct
behavior? I did not notice in any of the documents or discussions of anyon
Yay!! ;))
any 'offical comment' from the developers? Probably
even a release number for which our
proposed interface could be included?
cya,
thomas
> -Ursprüngliche Nachricht-
> Von: Thomas Muller [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 23. September 2002 16:45
> An: Log4J User
No objections, you're absolutely right!
--
Thomas
| -Original Message-
| From: Auinger, Thomas [mailto:[EMAIL PROTECTED]]
| Sent: 23 September 2002 15:34
| To: 'Log4J Users List'
| Subject: AW: Name of rolled over files
|
|
|
| The interface approach sounds fine for me, but why would y
The interface approach sounds fine for me, but why would you
declare the method with a String parameter?
The rollOver() method clearly needs a mapping from
backupIndex (which is an int) to a filename (String).
Therefore:
public abstract interface FilenameResolver {
public abstract S
Actually, I would think the best thing to do is to allow an implementation
of an interface to be given in the configuration. This is quite in
accordance to how other parts of Log4j is configured, e.g. renderers and
filters.
The interfact could be something like this:
public abstract interface Fi
Hello,
I had a look at the source code of RollingFileAppender
and it seems, that the file names for the rolled over
files are constructed inside the rollOver() method.
Since our project requires the rolled over files to follow
some certain naming conventions, I wonder if it is
planned to create
19 matches
Mail list logo