Curt Arnold wrote:
On Jun 20, 2005, at 7:44 PM, Eric Pieters wrote:
Hi,
Is there somebody out there which can provide an example of how I can
load a XML config file from a jar?
The idea is to add i.e. appl.xml to a jar and call
DOMConfigurator.configure("appl.xml") within the application.
Thanks for that. What if the files reached the max
number of the configured value? Is there a way
I to delete the files so the hard disk won't
get full?
I am using windows system, and I need to keep the logs
for sometime for late use.
--- Curt Arnold <[EMAIL PROTECTED]> wrote:
> On a Unix-like
Use the CVS HEAD version of install-chainsaw.xml.
Save this file to disk:
http://cvs.apache.org/viewcvs.cgi/*checkout*/logging-log4j/src/xdocs/install-chainsaw.xml?rev=1.5
And run ant:
ant -f install-chainsaw.xml
Then, follow the instructions provided when the ant script completes (compile
lo
Hi, i am trying to compile a build for chainsaw.
but the ant build reported, [ant] BUILD FAILED:
build-chainsaw.xml (System cannot find te file
specified)
I am currently using the source from
logging-log4j-1.3alpha-6.zip
where can i find the build-chainsaw.xml or can anyone
guide me into building
On Jun 20, 2005, at 7:44 PM, Eric Pieters wrote:
Hi,
Is there somebody out there which can provide an example of how I
can load a XML config file from a jar?
The idea is to add i.e. appl.xml to a jar and call
DOMConfigurator.configure("appl.xml") within the application.
I would like to h
On a Unix-like platform, you can just write your log files to the /
tmp directory which will be deleted on the next restart. You can use
"${java.io.tmpdir}" in a configuration file to specify that in a
platform-independent manner, but I do not believe that temporary
directories get deleted
Hi,
Is there somebody out there which can provide an example of how I can
load a XML config file from a jar?
The idea is to add i.e. appl.xml to a jar and call
DOMConfigurator.configure("appl.xml") within the application.
I would like to hide part of the configuration from the end-users to
a
how do i delete log files automatically?
thank you all very much.
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
I'm trying to use UDPAppenders and UDPReceivers in 1.3(alpha). I don't
have a problem configuring the appenders, and I can see their output
via a simple UDP client listening on the port, but I can't figure out
how to use the receivers directly (without using Chainsaw.) Can
someone direct me
OK, I have something that works for my purposes. I can use the
additivity="true" flag combined with filtering on a subpackage (foo in this
example) in order to filter out the log statements.
Ok, forget what I said earlier. I'm not sure what I was reading? Must be tired
today. Anyway, your XML config below should work. I expect that the logger
"com.mee.topup.util" and its children would log at the info level (and above)
to the appenderInfo appender. All other loggers outside of th
Maybe I did not express my self clearly enough:
What I would like is to log only the info level in a seperate log.
this is why I have appenderInfo pointing to logInformation.log.
The rest of the logs (warn, error, fatal) would be logged in another
file called logSystem.log.
Basically I have progra
First, I don't think that you can have two lines with the same category.
Do you want debug for code outside of the 3rd party library?
On 6/20/05, Adam Krieg <[EMAIL PROTECTED]> wrote:
> I'm integrating a third party library into our application. This library
> produces a lot of output at the
You have set up the root logger to log the info level of all loggers to
appenderSys. Therefore, the appenderSys log file will get info-level logging.
You might try changing the root logger's default level to be something like
"warn", or don't add appenderSys to the root logger.
Jake
Quoting Jo
I'm integrating a third party library into our application. This library
produces a lot of output at the DEBUG level that I'd like NOT to be in our
regular application log. However recently we've encountered a problem that
we can only diagnose by turning on the debug level for this code. I'd lik
The monthly rollover does not happen at midnight end of month. Even though
the logs show that that it has been updated with information after midnight.
If i continue to log information evry few seconds it does not rollover.
However once i leave for a few minutes ( 8 or so) and return and log mor
Is it possible that the logging is in 2 different logs:
I am trying to log in 2 ways:
- The Info level and only the info level (not warn, error or fatal) will log
in a document called logInformation.log
- the other levels (warn, error, fatal etc) will log in a ocument called
logSystem.log
I h
You might want to check the version of Tomcat. This issue sounds
terribly similar to the one that was in jBoss 4.x before 4.02. If I
remember correctly the cause was inherited from the version of Tomcat
that jBoss was using. At one point the logs were getting jumbled
together into the webapp log
18 matches
Mail list logo