is interpretation.
Jacob Kjome h...@visi.com
05/26/2010 02:19 PM
Please respond to
Log4J Users List log4j-user@logging.apache.org
To
Log4J Users List log4j-user@logging.apache.org
cc
Subject
Re: Logging some packages to File
First, I would set log4j.rootCategory to INFO or WARN and lower
You say that all apps are logging to the single file?...
/log/paymentportal_debug.log
Are the libraries for each application also in WEB-INF/lib or are they shared by
all the applications?
BTW, by autoconfiguration, I mean that you just let Log4j configure itself by
finding log4j.xml in the
Vigilog is not a product of the Apache Logging Services Project. Please contact
the maker of Vigilog for support.
Jake
On 5/18/2010 12:48 AM, Prashant Patil wrote:
Hi All,
I have downloaded Vigilog 1.3.1 log viewer tool.
I am trying to use this for simple log4j text log files by
Where do you place log4j.jar? In WEB-INF/lib or in some shared location? And
where do you place log4j.xml? In WEB-INF/classes and use autoconfiguration or
some other location and use manual confguration?
Jake
On 5/18/2010 6:50 AM, G.Cholakov wrote:
Hi,
The problem is the following -
I would either use Chaisaw II [1] or look at the code it uses to read log
files. It can read XML formatted files as well as regular log files, as long
as you give it the pattern the log was written in. See the
LogFilePatternReciever [2]. Chainsaw can even read a remote file using the
Why don't you read a system property that can be set upon server startup? For
example...
java -Dlog.dir=/path/to/log/dir MyServer
You can reference this variable inside Properties and XML config using ${log.dir}
and for programmatic config using System.getProperty(log.dir).
Jake
On
Do both server instances point to the same log directory and file? If so, you
need to change that. Also, ensure that the JBoss user has proper permissions to
create/modify files in the log directory.
Lastly, make sure that no application code is calling configure() on one of the
Log4j
on this how I can do
this?? ...
thanks again for reply !!
Jacob Kjome wrote:
See the timely email from Maarten Bosteels with the subject Re: log4j
1.2.15
DOMConfigurator.subst. He provides the solution you need.
Jake
On Tue, 13 Apr 2010 04:51:58 -0700 (PDT)
KasHarishkaswanhar...@gmail.com
See the timely email from Maarten Bosteels with the subject Re: log4j 1.2.15
DOMConfigurator.subst. He provides the solution you need.
Jake
On Tue, 13 Apr 2010 04:51:58 -0700 (PDT)
KasHarish kaswanhar...@gmail.com wrote:
Hi,
I am new to log4j and xml, I am using log4j xml for log4j
.
Thank you.
Regards,
Wooi Meng
On Mon, Mar 29, 2010 at 10:57 PM, Jacob Kjome h...@visi.com wrote:
Research Logger Repository Selectors. Here's a resource to get you
started
http://wiki.apache.org/logging-log4j/AppContainerLogging
Jake
On Mon, 29 Mar 2010 17:51:56 +0800
WM YEOH spinergy
Research Logger Repository Selectors. Here's a resource to get you
started
http://wiki.apache.org/logging-log4j/AppContainerLogging
Jake
On Mon, 29 Mar 2010 17:51:56 +0800
WM YEOH spinergy...@gmail.com wrote:
Hi there,
Current setup,
- App server - Sun Java System Application Server
As I mentioned in a private email to you, the most likely cause I can think of is
that application code is calling confgure() (using of of the Log4j Configurator
classes) at some point during the running application. If the application is
using the same Log4j Logger Repository as the server,
I don't recall ever seeing Log4j cut off stack traces. In fact, the reason
the FilteredPatternLayout [1] was invented was because stack traces contained
too much detail, not too little.
Unless someone else can confirm that Log4j is the culprit, I would look
elsewhere to find who/what might
Is this actually bombing out your code or is the exception just printed to
System.err? If the latter, then this does not constitute and uncaught
exception... requiring immediate attention.
Given that it happens after a redeploy cycles, it is likely the infamous Tomcat
bug (though they
You're already inheriting the stdout and base appenders from the root
logger. Don't re-define these on your child loggers unless additivity is
turned off, which it is not. Additivity does not apply to appenders, it
applies to loggers, e.g.,
log4j.additivity.com.fnfbook=false
I would
On Mon, 14 Sep 2009 08:55:14 +0100
Michael Erskine michael.ersk...@ketech.com wrote:
From: Jacob Kjome [mailto:h...@visi.com]
Subject: Re: Verifying initialization
have you tried using?.
-Dlog4j.debug=true
I think what is being discussed here (correct me if I'm wrong
logging is just a nice to have and
isn't a critical subsystem.
Eric
Jacob Kjome wrote:
On Mon, 14 Sep 2009 08:55:14 +0100
Michael Erskine michael.ersk...@ketech.com wrote:
From: Jacob Kjome [mailto:h...@visi.com]
Subject: Re: Verifying initialization
have you tried using
in the current VM, but in a remote one!.
With this setup, can anything be done to redirect the logs from the other
VM to the same file
Thanks a lot
Jacob Kjome wrote:
1. Does anything log to the simple_stdout appender? Have you tried
another
one that does get logged to, such as stdout?
2. How
Please send questions to the user list. The dev list is for development, not
user questions. Note that I've made the switch in my response and CC'd you to
make sure you see my response.
Are these all running in the same JVM? Are you using standard classloading or
specially configuring apps
have you tried using?.
-Dlog4j.debug=true
Jake
On Fri, 11 Sep 2009 10:46:53 -0700 (PDT)
ecmcn eric.mcne...@gmail.com wrote:
OK, thanks guys. I'm using a couple of custom appenders and so can at least
check that those loaded ok.
I agree with the fail gracefully approach, but not so
log4j.logger.com.r2.test.AdapterManagerBase=DEBUG,stdout Logs from
AdaptorManagerBase get logged
log4j.logger.com.r2.test.SupplyChainAdaptor=DEBUG,simple_stdout Logs from
SupplyChainAdaptor attached to RMID do no get logged.
Jacob Kjome wrote:
Two things...
1. You say you use log.properties
log4j.appender.simple_stdout.layout.ConversionPattern=%m%n
Like Jacob, has suggested this could be a configuration problem, could you
folks further help me understand/debug the problem
Jacob Kjome wrote:
What are the logger names and what is the configuration being used
I don't use the [optional] NTEventLogAppender, but, as I understand it, the
native binary bundled with it works on 32 bit platforms. If you want a 64 bit
one, you'll have to obtain the source and compile it yourself.
If you don't use the NTEventLogAppender there is no platform specific
, changing the log level
of my custom packages) are working well (eg, turning off the log for my
packages works).
Jacob Kjome wrote:
The WEB-INF/lib folder is not added to the classpath. Each jar in said
folder is
but not the folder itself. You need to put it in WEB-INF/classes. I
assume you
Are you sure this isn't caused by a forked VM, such as via the ant/ task for
junit fork=true/? In those cases, the -D command line param won't be passed
to the forked VM. You'd have to provide those as params to the tasks invoking
the
forked VM.
Jake
On 8/19/2009 3:22 PM, jgarrison wrote:
I
Have you tried a search engine? Seriously, there are lots of tutorials out
there on using Log4j.
As for the config files, Log4j will auto-configure itself if you place
log4j.properties or log4j.xml in the default package, i.e, no package.
As far as changing the configuration at runtime, you
Search the list on something like log file per user. This has been discussed
previously and solutions have been suggested.
Jake
On 7/21/2009 2:34 AM, ?? wrote:
-- --
?? smj...@163.com
??2009-07-21 16:02:01
log4j-user
com.org.do.presentation.application should go to b.log
log4j.logger.com.org.do.presentation.don should go to a.log
Thanks Regards,
Ram
--- On Fri, 17/7/09, Jacob Kjome h...@visi.com wrote:
From: Jacob Kjome h...@visi.com
Subject: Re: log4j properteis set up for different packages
To: Log4J Users List log4j-user
from tabs are
repeated into the root logger, which is not ideal but I can deal with.
Lucas
On Mon, Jul 13, 2009 at 3:54 AM, Jacob Kjome h...@visi.com wrote:
Work for me. Different versions require different setups. 5.5 required
log4j.jar
and commons-logging.jar in common/lib. 6.x requries you
-0400
Lucas Vickers lucasvick...@gmail.com wrote:
Correct I am getting all the DEBUG/INFO/WARN/FATAL from tabs in the root
logger.
I will try setting additivity to false.
thanks :)
On Tue, Jul 14, 2009 at 10:42 AM, Jacob Kjome h...@visi.com wrote:
Are you saying that you get INFO (as well
You have to deploy log4j.jar in both common/lib as well as WEB-INF/lib of each
app. Tomcat will use the one in common/lib and each webapp will use the one in
its respective WEB-INF/lib (because of child-first, or parent-last, classloading
behavior of webapps).
Jake
On 7/11/2009 6:01 PM, Lucas
works?
On Mon, Jul 13, 2009 at 10:27 AM, Jacob Kjome h...@visi.com wrote:
You have to deploy log4j.jar in both common/lib as well as WEB-INF/lib of
each
app. Tomcat will use the one in common/lib and each webapp will use the
one in
its respective WEB-INF/lib (because of child-first
# direct log messages to stderr, which is re-directed by Tomcat
# to the tomcat logs.
log4j.appender.stderr = org.apache.log4j.ConsoleAppender
log4j.appender.stderr.Target = System.err
log4j.appender.stderr.layout = org.apache.log4j.PatternLayout
in the file.
On Mon, Jun 8, 2009 at 4:45 PM, Jacob Kjome h...@visi.com wrote:
Try this...
log4j.appender.CONSOLE.Threshold=WARN
log4j.rootLogger=WARN, CONSOLE, FILE
log4j.logger.com.myapp=INFO
Jake
On Mon, 8 Jun 2009 14:45:10 -0400
Bai Shen baishen.li...@gmail.com wrote:
Okay, that sort of worked
Try this...
log4j.appender.CONSOLE.Threshold=WARN
log4j.rootLogger=WARN, CONSOLE, FILE
log4j.logger.com.myapp=INFO
Jake
On Mon, 8 Jun 2009 14:45:10 -0400
Bai Shen baishen.li...@gmail.com wrote:
Okay, that sort of worked. This was how I had my log4j.properties setup.
log4j.rootLogger=WARN,
Doesn't SLF4J support MDC in its interfaces? Just start using that. And for
code that continues to use the commons-logging API, you can use the slf4j over
commons-logging module and the slf4j Log4j module to bind to Log4j.
Jake
On Tue, 02 Jun 2009 09:05:19 -0400
Captain Haddock
How do you configure Log4j? log4jxml.xml will not be picked up for
auto-configuration. You'd have to change the name to log4j.xml for that.
You can set the Java system property -Dlog4j.debug=true to see Log4j's
internal logging, which will show which file it is (or possibly isn't)
On Mon, 1 Jun 2009 08:32:38 -0400
Douglas E Wegscheid douglas_e_wegsch...@whirlpool.com wrote:
if you have a chance to change the log file layout, use the XMLLayout.
It's unambiguous to parse.
XMLLayout is probably the most straightforward option. Another option is the
receiver
Why not place a temporary Log4j config file in the classspath that does
something minimal like configuring only the root logger and setting the
appender to console with the level set to WARN. Then, when you are ready to
configure at runtime, you can load up your real log4j.properties file and
On 5/15/2009 1:06 PM, Jason Novotny wrote:
Hi,
Typically I have a setup like:
log4j.rootLogger=ERROR, console, file
...
log4j.logger.com.mypackage=DEBUG
but then classes in com.mypackage are not logged in debug since
rootLogger is ERROR.
Classes in com.mypackage should most
What you have below does nothing for the file being appended to. There have
been
long discussions in the past, on this list, about a file per thread. I believe
most have resorted to using a custom, thread-based, repository selector. I
suggest research be done on what's been said before.
As
You should be able to replace all instances of logger with category and all
instances of level with priority for the old stuff. That said, I never used
Log4j prior to 1.2.
Jake
On 4/28/2009 2:14 PM, el guapo wrote:
Hi,
I'm currently fiddling with a project where the logging is configured in
First, I presume you named your loggers in the de.myproject.controller
package based on the fully qualified class name, which is a common practice.
If this is not true, please check the logger name you used.
With that said, I suggest you set your rootLogger to a level of WARN. This
will
I've not written a WS deployed application, but Log4j's Chainsaw 2 uses a
custom Log4j configuration file that is outside any WS deployed jar file. You
might have a look at it. Hopefully the core Chainsaw developers will comment
here as well.
Jake
On Fri, 17 Apr 2009 09:16:54 +0200
Luca
You need to call logger.log() and pass in the fully qualified name of the Util
class with a . appended to it.
Jake
On Tue, 14 Apr 2009 23:01:19 +0200
Andy Rozman a...@triera.net wrote:
Hi !
I already asked this question once, but there were no answers then, I hope
there will be one now...
I'm not sure if this will help, but I run Tomcat6 under on Windows and use the
Tomcat Service. The service redirects stdout and stderr to files. For log4j, I
simply define a ConsoleAppender and assign it to the root logger, which gets
directed to the stdout log file. stdout goes to
Please don't post user questions to the dev list. I've sent this to the user
list, Bcc'ing the dev list, just in case you are not subscribed to the user list
yet. See comments below...
On 4/10/2009 7:03 AM, mb77 wrote:
Hello everybody,
Beginners question here, hope all will be clear enough
There is no such Level as WARNING. Try...
log4j.category.net.sf.acegisecurity=WARN
Jake
On Mon, 30 Mar 2009 15:17:08 -0700 (PDT)
Rene Guenther rene.guent...@innflow.com wrote:
Its really strange. I would like to know whats going on.
1. I remove those files related to hibernate:
.
Try running the server with java -Dlog4j.debug=true This will tell you
where Log4j is picking up (or not picking up) its config file.
Jake
-Original Message-
From: Jacob Kjome [mailto:h...@visi.com]
Sent: Sunday, March 22, 2009 11:55 PM
To: Log4J Users List
Subject: Re
with Custom DOMConfigurator .
Thanks
kondal
On Thu, Feb 26, 2009 at 10:59 PM, Jacob Kjome h...@visi.com wrote:
On Thu, 26 Feb 2009 21:00:48 +0530
kondal rao navuluri.kon...@gmail.com wrote:
Thanks for your reply.I am using sample only.just a spelling mistake.
I tried this (file:///C
Thanks
kondal
On Thu, Feb 26, 2009 at 8:42 PM, Jacob Kjome h...@visi.com wrote:
On Thu, 26 Feb 2009 14:03:43 +0530
kondal rao navuluri.kon...@gmail.com wrote:
Hi,
I am using the log4j for logging in my webapplication.I am keeping the
log4j.xml file outside of my web application(generally we
On Tue, 24 Feb 2009 01:11:13 -0800 (PST)
alekoc ale4349...@mail.ru wrote:
Thank you, Arnauld
I am new in Log4j. I just found it convenient for logging and decided to use
it. I would like to ask you few questions, please.
Why the shared/common directory relates to Log4j work? I had a hope that
log4j.additivity.com.micromuse=false
Best wishes,
Dmitry Surovtsev
-Original Message-
From: Jacob Kjome [mailto:h...@visi.com]
Sent: Friday, February 20, 2009 1:19 AM
To: Log4J Users List
Subject: Re: Filtering duplicated log-messages
What appender is outputting these duplicate logs? What you provided doesn't
Message-
From: Jacob Kjome [mailto:h...@visi.com]
Sent: Friday, February 20, 2009 5:29 PM
To: Log4J Users List
Subject: Re: Filtering duplicated log-messages
So, which logger is actually providing the debug output? What is it's name?
I still can't see how any of your appenders are providing
jdbc:sybase:Tds:crl_os_ks1_p:4100
(Skipped...)
Best wishes,
Dmitry Surovtsev
-Original Message-
From: Jacob Kjome [mailto:h...@visi.com]
Sent: Thursday, February 19, 2009 8:33 AM
To: Log4J Users List
Cc: Log4J Developers List
Subject: Re: Filtering duplicated log-messages
Sure
You are using the older RollingFileAppender. You need to use the one in the
log4j-extras package...
org.apache.log4j.rolling.RollingFileAppender
Jake
On Fri, 20 Feb 2009 19:22:08 +0100
Antonio Angelino ilwebmas...@gmail.com wrote:
Hello,
I am a new user of log4j package and I have a
,
Dmitry Surovtsev
-Original Message-
From: Jacob Kjome [mailto:h...@visi.com]
Sent: Thursday, February 19, 2009 8:33 AM
To: Log4J Users List
Cc: Log4J Developers List
Subject: Re: Filtering duplicated log-messages
Sure, by setting additivity to false. Post your config. BTW, don't post
Sure, by setting additivity to false. Post your config. BTW, don't post it to
the log4j-dev list. post it to the log4j-user list. The dev list isn't for
general user question, but for Log4j development issues.
Jake
On 2/18/2009 7:28 AM, Surovtsev, Dmytro wrote:
Hi all,
Is it possible
own instance of Log4j and,
therefore, enable both to auto-configure themselves with no clashes between
applications.
Jake
Jacob Kjome wrote:
Whether the behavior is strange or not depends on how you are
configuring
Log4j and how the classloader hierarchy is set up under OC4J... as well
Whether the behavior is strange or not depends on how you are configuring
Log4j and how the classloader hierarchy is set up under OC4J... as well as
where Log4j.jar exists in the classloader hierarchy.
I'm guessing you are letting Log4j auto-configure itself by finding your
log4j.properties
On Tue, 27 Jan 2009 10:23:14 -0500
Ravi rav...@cox.net wrote:
Hi: How do I setup the filename to which to send the logs within my code?
my log4j.xml has the following. I guess I have to send the File attribute
from my code. Can't seem to figure out how to change it using the
Have you tried setting an explicit level for the the AlternativeLog logger?
You've got...
log4j.category.AlternativeLog=A3
log4j.additivity.AlternativeLog=false
I wonder if AlternativeLog initially inherited the ERROR level from the
rootLogger before it had it's additivity reset to false?
Hi Curt,
What does the following mean?...
On 1/1/2009 8:27 PM, Curt Arnold wrote:
liUse per-application copies of log4j, that is remove log4j.jar from
WEB-INF/lib./li
The first part says use per-application copies of log4j and then it says that
is remove log4j.jar from WEB-INF/lib. From my
Does this happen ever single time your log line is called or just sporadically?
You point out that you have enough disk space, but are you running Java with a
user having write permissions? Is the log file actually being created?
Jake
On 1/2/2009 9:25 AM, laredotornado wrote:
Hi,
I'm
no such output to be emitted? Thanks Jake.
Jacob Kjome wrote:
Try using -Dlog4j.debug=true to see how Log4j is being configured. Maybe
someone
is performing manual configuration shortly after auto-configuration takes
place
On 11/28/2008 3:47 AM, Ceki Gulcu wrote:
Hello Jacob,
Comments inline.
Jacob Kjome wrote:
Log4j 1.2.xx contains a RepositorySelector interface with no
implementation and no
well defined way of installing one. This was addressed in Log4j 1.3
(you must
recall
Hi Ceki,
Can you please explain your change of heart first? I'll take a guess as to your
skepticism...
1. Very little built in support, making repository selectors generally a custom
solution, which inhibits widespread use. This can be easily addressed.
2. The use of static loggers as well
Try using -Dlog4j.debug=true to see how Log4j is being configured. Maybe
someone
is performing manual configuration shortly after auto-configuration takes place?
Jake
On 11/26/2008 3:54 PM, Farrukh Najmi wrote:
I have been using log4j 1.2.14 and commons-logging 1.1 in my project
successfully
On 11/27/2008 12:56 PM, Ceki Gulcu wrote:
Thanks for your response. Comments inline.
Jacob Kjome wrote:
Hi Ceki,
Can you please explain your change of heart first? I'll take a guess
as to your
skepticism...
1. Very little built in support, making repository selectors
generally
On Wed, 19 Nov 2008 21:24:41 -0800 (PST)
manish_goyal [EMAIL PROTECTED] wrote:
Hi,
Thanks for your reply.
I have placed ojdbc14.jar and classes12.jar file in class path. But still i
am getting the same error.
Well, you would place one or the other in the classpath, not both... The
How about placing the Oracle driver in the classpath?
Jake
On Wed, 19 Nov 2008 03:11:04 -0800 (PST)
manish_goyal [EMAIL PROTECTED] wrote:
Hi,
I am sending message to JMS queue using java application. From there i am
using log4j.properties file for logging message to File and Database. I
Looks to me like the config file is for JUL, not Log4j. The reason you are
getting a Log4j warn message is that Log4j is in your classpath, but you don't
provide log4j.properties or log4j.xml on the classpath. I suggest figuring
out which logging system(s) you want and accounting for it/them
Try
SET
JAVA_OPTS=-Dlog4j.configuration=file:/C:/WebSphere/AppServerCommunityEdition/var/log/fp-log4j.properties
It has to be a valid URL path, not a native system path.
Jake
On Fri, 7 Nov 2008 02:45:29 -0800 (PST)
Hearty [EMAIL PROTECTED] wrote:
In apache geronimo
I have tried the
if you can point me to some links related.
Thanks,
Dong
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 10:13 PM
To: Log4J Users List
Subject: Re: How to create client based log levels for a service
extending Logger should not be necessary
On Wed, 22 Oct 2008 04:43:04 -0700 (PDT)
Chris Kimball [EMAIL PROTECTED] wrote:
I'm using a DOMConfigurator successfully in a jar-bundled, cross platform
app.
But the configuration file is currently a resource within the bundle,
unmodifiable by a user.
I'd like to copy the configuration
Is the directory that contains log4j.properties on the classpath?
Jake
On Thu, 9 Oct 2008 09:44:48 -0700 (PDT)
Someone [EMAIL PROTECTED] wrote:
If anyone can shed some light on the issue...
log4j.properties is not in my jar, but I should still be able to access
it...
The Error Message:
It would be helpful to see your config. But I can imagine what you might be
missing. You need to look into the concept of additivity. By default it is
true. This means that a child inherits the appenders and levels of
parents. You want to set this to false. For instance, the following
destinatários.
Obrigado!
Bill Cosby - Always end the name of your child with a vowel, so that when
you yell the name will carry.
On Wed, Sep 24, 2008 at 14:54, Jacob Kjome [EMAIL PROTECTED] wrote:
It would be helpful to see your config. But I can imagine what you might
be missing. You need
favor:
1. Apague o MEU endereço eletrônico;
2. Encaminhe como cópia oculta (CCO; BCC) aos SEUS destinatários.
Obrigado!
Fred Allen - What's on your mind, if you will allow the overstatement?
On Wed, Sep 24, 2008 at 15:25, Jacob Kjome [EMAIL PROTECTED] wrote:
I don't think that the properties
. Encaminhe como cópia oculta (CCO; BCC) aos SEUS destinatários.
Obrigado!
Joan Rivers - If God wanted us to bend over he'd put diamonds on the
floor.
On Wed, Sep 24, 2008 at 16:42, Jacob Kjome [EMAIL PROTECTED] wrote:
You're saying you see logging on the Console but not in the A1 appender
file
will allow the overstatement?
On Wed, Sep 24, 2008 at 16:56, Curt Arnold [EMAIL PROTECTED] wrote:
On Sep 24, 2008, at 2:42 PM, Jacob Kjome wrote:
You're saying you see logging on the Console but not in the A1 appender
file (${catalina.home}/logs/A1.log)? That doesn't make much sense. It's
==
NETiqueta:
Ao encaminhar esta mensagem, por favor:
1. Apague o MEU endereço eletrônico;
2. Encaminhe como cópia oculta (CCO; BCC) aos SEUS destinatários.
Obrigado!
Yogi Berra - You wouldn't have won if we'd beaten you.
On Wed, Sep 24, 2008 at 17:07, Jacob Kjome [EMAIL PROTECTED] wrote:
No, A2
Search the list for MultiFileAppender or something to the effect of
per-thread logging based on MDC values.
Jake
On Tue, 9 Sep 2008 09:00:53 -0700
Reza Razavipour [EMAIL PROTECTED] wrote:
Ok, let me explain more...
I have a set of elements, a queue of them...I have a thread pool of
On Thu, 21 Aug 2008 17:45:13 +0530
Aneez Backer [EMAIL PROTECTED] wrote:
If you don't want log4j to avoid the default initialization procedure you
can set the log4j.defaultInitOverrride system property to anything other
than false.
How does log4j interpret defaultInitOverride?? Does any
It's not a bad idea. Log4j 1.2.xx gives you one option. On the command line
that starts the server, the sysadmin can add...
java -Dlog4j.configuration=/path/to/log4j.xml .
Of course, if you have more than one app running on the server and you want
separate config files per app (assuming
On Thu, 14 Aug 2008 13:24:26 +0200
Aux Board [EMAIL PROTECTED] wrote:
Greetings!
Sorry to ask a somewhat trivial question, but I am using ChainSaw to display
logging information on a VM using LogFilePatternReceiver. I am setting the
fileURL in the following manner and it works fine:
.
Regards,
Lanes
--- On Wed, 8/13/08, Jacob Kjome [EMAIL PROTECTED] wrote:
From: Jacob Kjome [EMAIL PROTECTED]
Subject: Re: strange behavior of my log4j.xml configuration
To: Log4J Users List log4j-user@logging.apache.org
Date: Wednesday, August 13, 2008, 9:46 PM
Unless you've taken steps
Unless you've taken steps to ensure that each application will log using their
own instance of log4j or use a Logger Repository Selector that distinguishes,
somehow, between applications, then all apps will use the same Logger
Repository (the default one) from a single instance of Log4j.
Most
Thorbjørn Ravn Andersen wrote:
Ashish Kulkarni skrev den 04-08-2008 21:45:
Hi
Is there anyway to format the log messages using java 1.5 format
capabilities
for example i can have a nice formatted out put using
System.out.format(Number of Users on Registry %1$s, is %2$d,
registry.getName(),
Tomcat 6 uses JUL logging by default. You have to perform special setup to get
Tomcat to log using Log4j. In any case, the question is really about Tomcat,
not
Log4j. Please post to the Tomcat list.
Jake
Hashmir Shamshir wrote:
Hi all,
I'm new to log4j and I had a quick question -- I'm
Do you mean Weblogic's console log? Just use Log4j's Console Appender, which
is essentially the same as System.out.print()
Jake
On Tue, 29 Jul 2008 11:48:12 -0500
Naina G [EMAIL PROTECTED] wrote:
Hello,
I would like to know if we can use log4j to direct the application logs to
weblogic
console, I mean able to see the logs using
the* *Weblogic
Admin console*
Thanks and Regards,
Naina.
On Tue, Jul 29, 2008 at 11:58 AM, Jacob Kjome [EMAIL PROTECTED] wrote:
Do you mean Weblogic's console log? Just use Log4j's Console Appender,
which is essentially the same as System.out.print
Are you trying to use Log4j for Tomcat's logging, your own application's
logging,
or both? Where did you put log4.jar?
Jake
V Jayakumar wrote:
Hello
OS : Linux + Tomcat 5.5
Logs from my application deployed in Tomcat being written to catalina.out
with logging level as DEBUG
I
implies that you've already built using Maven
which would have downloaded those dependencies for you. That makes that Ant
build
not so useful, IMO.
Jake
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 10:31 PM
To: Log4J Users List
See the rolling package in the Log4j extras companion...
http://logging.apache.org/log4j/companions/extras/index.html
Jake
On Tue, 8 Jul 2008 08:04:49 -0700
Eric Kolotyluk [EMAIL PROTECTED] wrote:
One of the nice features I like in log4j 1.3 is
FixedWindowRollingPolicy#setFileNamePattern();
not come with a jar file and trying to build the
distribution fails.
I would prefer it if someone would just add this functionality to the
1.2 stream, at least that's a properly maintained release.
- Eric
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday
-lists.html
Jake
Cheers, Eric
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 8:29 AM
To: Log4J Users List
Subject: Re: fixedWindowRollingPolicy.setFileNamePattern
See the rolling package in the Log4j extras companion...
http
Seems useful. Just a few questions
When Append=true I presume the header will get written again, right? So, it
wouldn't just exist on the first line of the log file, but on the first line of
logging per appender configuration pointing at a given log file. Also, in the
example, you don't
Ok, well, I checked it out and used Maven 2.0.9 to build. I just typed mvn
install. It ran all tests and built the binary in 2 minutes. What problem did
you have? Are you missing repositories in your ${user.home}/.m2/settings.xml?
Jake
Jacob Kjome wrote:
There is a plan to release it. I
Camer38 wrote:
I have two Java classes that used log4j.
curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter and
curam.tools.upgradehelper.taskredirection.TaskRedirectionConverter
Both classes from above uses different class:
curam.tools.upgradehelper.util.SQLStatements
101 - 200 of 688 matches
Mail list logo