> It seems to me that both files will be on the classpath (lib directory). How
> do I know which one it will find first?
>
> -Original Message-
> From: Remko Popma [mailto:remko.po...@gmail.com]
> Sent: Friday, August 08, 2014 5:58 PM
> To: Log4J Users List
> S
Arwen,
Please note that the paragraphs below indicating the message is proprietary
cannot apply to this message. This is a public mailing list and this message
will be archived forever in at least 3 other places not under the control of
the Apache Software Foundation. Please make sure to remov
, 2014 5:58 PM
To: Log4J Users List
Subject: Re: Multiple configuration files?
Do applications A and B run in separate processes, or does B call some function
in A without starting a new process for A?
Log4j initializes only once in a given process. If A and B are in separate
processes they can
Do applications A and B run in separate processes, or does B call some function
in A without starting a new process for A?
Log4j initializes only once in a given process. If A and B are in separate
processes they can have separate configurations. If they run in the same
process, they'll share
Only one file is used. If you want to combine multiple ones, you could use
XInclude or create a custom ConfigurationFactory.
On 8 August 2014 13:28, Arwen Pond wrote:
> I have multiple applications that use log4j. Some depend on others. For
> example application A can be run independently and
I have multiple applications that use log4j. Some depend on others. For
example application A can be run independently and has a log4j config file
under src/main/resources/log4j2.xml. Application B invokes application A but
it has a different log4j config file in its resource directory.
When
ation."
"Chris W. Dickinson"
09/08/2010 12:29 PM
Please respond to
"Log4J Users List"
To
cc
Subject
RE: Multiple Configuration Files
Can anyone assist with this question? Or, if it's been answered before,
at least point me in the direction of finding the a
bject: Multiple Configuration Files
I am developing against a third-party Java application. This
application uses the command line configuration for log4j:
-Dlog4j.configuration=log.prp
I do not wish to overwrite the log.prp in the application, as it would
create headaches when we upgrade the c
I am developing against a third-party Java application. This
application uses the command line configuration for log4j:
-Dlog4j.configuration=log.prp
I do not wish to overwrite the log.prp in the application, as it would
create headaches when we upgrade the core application software.
However, I
uesday, May 29, 2007 11:22 AM
> To: log4j-user@logging.apache.org
> Subject: Log4J Multiple Configuration Files?
>
> Hello,
>
>
> I have a large application with several packages that contain more
> packages.
>
> I would like to have an xml config file for log4j for eac
Have you tried using Xincludes? You'll need an XML parser that supports
the XInclude pre-processing.
-Original Message-
From: John Doran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 11:22 AM
To: log4j-user@logging.apache.org
Subject: Log4J Multiple Configuration Files?
Hello,
I have a large application with several packages that contain more packages.
I would like to have an xml config file for log4j for each package.
(Having 1 large config file would be a pain to traverse through to change
settings.)
For example...
-animals
-dogs
-cats
Thanks, James. Will try out RepositorySelector.
-Jaikiran
James Stauffer <[EMAIL PROTECTED]> wrote:
Search for something called a RepositorSelector (or something like that).
On 6/23/06, jaikiran pai wrote:
> Hi,
> Currently, i could not find a way to use add multiple files as configuratio
You can [re]configure Log4j as many times as you want. Configuration
is additive. Once reconfiguration does not blow away the old. I'm
not sure what you describe is something Log4j ought to support at its
core. You are welcome to create your own startup class that behaves
this way and jus
Search for something called a RepositorSelector (or something like that).
On 6/23/06, jaikiran pai <[EMAIL PROTECTED]> wrote:
Hi,
Currently, i could not find a way to use add multiple files as configuration
files for log4j. Here's why i needed the same:
- I have a 3rd party application which
Hi,
Currently, i could not find a way to use add multiple files as configuration
files for log4j. Here's why i needed the same:
- I have a 3rd party application which uses log4j and has its configurations
in log4j.xml
- I am integrating my application with the 3rd party application.
- My a
Anyone?
Impossible?
Hope someone has some insight
-Henrik
On Mar 30, 2005 9:09 PM, Henrik Bentel <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to configure a repository using multiple log4j
> configuration file (properties or xml format).
> I've read previous posts from 2002 and 2003 on the su
Hi
I'm trying to configure a repository using multiple log4j
configuration file (properties or xml format).
I've read previous posts from 2002 and 2003 on the subject which
confirmed that this should possible. As additional configuration is
read, Loggers and appenders are added to the Repository w
18 matches
Mail list logo