Can you change the command line? You could add "-Dlog_root=%log_root%"
to copy it to a system property, which should be accessible.
On 1/15/07, Reshat Sabiq <[EMAIL PROTECTED]> wrote:
I'd like to do smt. like:
%LOG_ROOT%/myLog.log
---
It basically overlaps.
On 1/15/07, Reshat Sabiq <[EMAIL PROTECTED]> wrote:
James Stauffer gmail.com> writes:
>
> Yes, log4j is only configured once. If you want each jar to have
> isn't own config then you need to look into repository selectors.
What happens when the code calls:
P
I'd like to do smt. like:
%LOG_ROOT%/myLog.log
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
James Stauffer gmail.com> writes:
>
> Yes, log4j is only configured once. If you want each jar to have
> isn't own config then you need to look into repository selectors.
What happens when the code calls:
PropertyConfigurator.configure(log4jPropertiesFileURL);
after auto-configurati
Quoting dirk ooms <[EMAIL PROTECTED]>:
> On Monday 15 January 2007 19:04, Jacob Kjome wrote:
> > The file should look something like this...
> >
> >
> > http://logging.apache.org/log4j/";
> > debug="false" threshold="debug">
>
> AFAIK the tag was used in version 1.2.x, but it is
> inproper xml.
On Monday 15 January 2007 19:04, Jacob Kjome wrote:
> The file should look something like this...
>
>
> http://logging.apache.org/log4j/";
> debug="false" threshold="debug">
AFAIK the tag was used in version 1.2.x, but it is
inproper xml. In 1.3 this was corrected (or at least an attempt was ma
> I already have gone through the document.My question is in log4j 1.2.8 i
> was using the following for DailyRollingFileAppender to map to
> configuration file : DOMConfigurator.configure(mLOG4JCONFIGFILE);
> where mLOG4JCONFIGFILE was the property where i mentioned the location of
> xml file.
The file should look something like this...
http://logging.apache.org/log4j/";
debug="false" threshold="debug">
Jake
Quoting Surya Poola <[EMAIL PROTECTED]>:
> Hi,
> Iam getting the following warnings if iam using DOM Configurator and iam
> not getting the log file creat
Hi,
Iam getting the following warnings if iam using DOM Configurator and iam not
getting the log file created:
log4j:WARN Continuable parsing error 2 and column 16
log4j:WARN Document root element "configuration", must match DOCTYPE root
"null".
log4j:WARN Continuable parsing error 2 and
Even though DOMConfigurator is depreciated it may still work and it
may be worthwhile to try it to see if your config is ok.
On 1/15/07, Surya Poola <[EMAIL PROTECTED]> wrote:
Dirk,
Thanks for your help,but iam sorry to query you once more:
I already have gone through the document.My quest
I am running an application that uses log4j version 1.2.9. The application
is running on Java 1.5.0.9 for Linux 64-bit version. After minutes or hours
of running and logging, log4j stops logging. The console shows the
following message, which partially explains the reason:
log4j: Hierarchy t
Dirk,
Thanks for your help,but iam sorry to query you once more:
I already have gone through the document.My question is in log4j 1.2.8 i was
using the following for DailyRollingFileAppender to map to configuration file :
DOMConfigurator.configure(mLOG4JCONFIGFILE);
where mLOG4JCONFI
How many different "types of users" do you have? Are all types known
ahead of time?
On 1/15/07, Gajendra Pingalkar <[EMAIL PROTECTED]> wrote:
In my application, currently we r maintaining all logs in same file of Log4j.
Instead of that, i want to maintain logs seperatly depend-upon his user-typ
Rohan,
have a look at the 'Default Initalization Procedure' at
http://logging.apache.org/log4j/docs/manual.html
it explains how log4j will find your config file.
dirk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Hi Dirk,
But how can i map to the log4j.xml file without use of joranconfigurator.I
hope we need one configurator which maps to configuration file.
So please let me know the procedure to map log4j.xml file which resides in
specific location, or else the right usage of configurator for
R
In my application, currently we r maintaining all logs in same file of Log4j.
Instead of that, i want to maintain logs seperatly depend-upon his user-type.
Whenever a specific user has get login, his information has been maintain in a
specific file, all other user has get login, same type as pre
Rohan,
you can use the wizard http://wizardforge.org/pc?action=showVersion&id=28 to
generate a valid log4j.xml
for your goal
you just have to create a logegr in your code (Logger.getLogger()), no need for
the JoranConfigurator stuff.
dirk
--
Hi,
Iam new to log4j usage.My requirement is to wriite a log file and roll over
monthly, but I want the file name that iam logging to be identified with date
like xyz_01-2007.csv before rollover.
Iam using log4j1.3 alpha-8 with rollingfileappender but file is not created
and iam no
18 matches
Mail list logo