Try changing
log4j.logger.MailLog=mail
to
log4j.logger.MailLog=DEBUG,mail
Regards,
Aswin Asokan
On Wed, 16 Mar 2005 09:54:04 -0500, Luke Reeves <[EMAIL PROTECTED]> wrote:
> I'm trying to log different areas of my software to different log files
> - this seems to be a common problem on the li
Subramani, GnanaShekar (GE Healthcare, non-ge) wrote:
Hi,
Somebody please help me how to configure SocketHubReceiver in chainsaw using
log4j.xml / log4j.properties.
I created the following log4j.xml / log4j.properties and used it with chainsaw.
But this does not work.
log4j.xml
-
htt
Hi,
Somebody please help me how to configure SocketHubReceiver in chainsaw using
log4j.xml / log4j.properties.
I created the following log4j.xml / log4j.properties and used it with chainsaw.
But this does not work.
log4j.xml
-
http://jakarta.apache.org/log4j/";
debug="false">
Hi,
Not sure if this is a common problem. Our product runs in
Tomcat, and the product’s log4j is configured with SyslogAppender (programmatically).
When I am running the application on windows, messages are being spit to local
Windows syslog daemon (I use Kiwi Syslog daemon). When I run th
Another option: Get UnixUtils from http://unxutils.sourceforge.net/.
Just extract, add usr/bin/wbin to you path, and you are set.
On Wed, 16 Mar 2005 14:39:02 -0600, Rieser, Michael (SCI TW)
<[EMAIL PROTECTED]> wrote:
> On Windows try:
>
> jar -tf log4j-1.2.9.jar | find "Category.class"
>
> No
Sorry, I got it to work, I get this back
org/apache/log4j/Category.class
org/apache/log4j/spi/RootCategory.class
-Original Message-
From: Rieser, Michael (SCI TW) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 3:39 PM
To: Log4J Users List
Subject: RE: RollingFileAppender
On W
I can't run 'jar', I get this error:
'jar' is not recognized as an internal or external command,
operable program or batch file.
-Original Message-
From: Rieser, Michael (SCI TW) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 3:39 PM
To: Log4J Users List
Subject: RE: RollingFi
On Windows try:
jar -tf log4j-1.2.9.jar | find "Category.class"
Note: the double quotes ("") are necessary.
Mike
> -Original Message-
> From: Jason Roscoe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 16, 2005 11:54 AM
> To: 'Log4J Users List'
> Subject: RE: RollingFileAppender
>
I was able to get this to run on a linux box, adding a manifest file with
the classpaths in there. But, when I try to run the same jar file on my
windows box, I get Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/log4j/Category
Could this have something to do with my window
Is log4j in your classpath twice?
On Wed, 16 Mar 2005 12:53:59 -0500, Jason Roscoe <[EMAIL PROTECTED]> wrote:
>
> I am running on a windows machine, so I can't use your jar command to grep
> for Category.class. If I open up my log4j jar, under org.apache.log4j, I
> have a Category.class file.
>
I am running on a windows machine, so I can't use your jar command to grep
for Category.class. If I open up my log4j jar, under org.apache.log4j, I
have a Category.class file.
I ran this:
java -classpath "..\lib\classes\log4j-1.2.9.jar" org.apache.log4j.Category
and got Exception in thread "ma
On Mar 16, 2005, at 8:12 AM, Jason Roscoe wrote:
I tried using 1.2.9 (stable) and I was able to get the
RollingFileAppend to
work. When I try running my application from a command line, I get
this
error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Category
Here i
Hi,
I am trying to configure a CustomSQLDBReceiver for the Oracle DB I am using.
After solving some problems mentionned in other postings on this mailing
list, I now try set up a working sql statement.
The statement I have now results in an error. The event in the chainsaw log
describe it as an in
You could add -Dlog4j.debug and the it should print to standard output
when it is being configured. It may also have other clues to help
you.
On Wed, 16 Mar 2005 14:54:27 +, John Hunsley <[EMAIL PROTECTED]> wrote:
> It was deployed with a war file, when I boot tomcat I changed the
> webapp
On Mar 16, 2005, at 4:15 AM, saleem wrote:
Is it possible in log4j to define multiple conversion patterns over the
debug levels in the same category.
For example;
When I write : simpleLogger.error then I like to see class name & line
number
And
When I write : simpleLogger.info then I do not wish to
We are working with Sun Application Server 2004Q2. and want to use JMSAppender
I have used a properties file logger.properties like this:
log4j.rootCategory=, JMSAppender
log4j.appender.JMSAppender=org.apache.log4j.net.J
It was deployed with a war file, when I boot tomcat I changed the
webapp dir to ROOT but whilst the app is running the war file doesnt
re-deploy so I guess it is not reloading.
John.
James Stauffer wrote:
It is possible that your web app is being reloaded? Each reload could
cause it to be con
I'm trying to log different areas of my software to different log files
- this seems to be a common problem on the list, but none of the
previous solutions have worked for me. I'm using the most recently
released Log4J library, and most of the code in my project uses the
line:
Logger log = Logg
I tried using 1.2.9 (stable) and I was able to get the RollingFileAppend to
work. When I try running my application from a command line, I get this
error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Category
Here is my full config file:
# Set root category prior
It is possible that your web app is being reloaded? Each reload could
cause it to be configured again.
On Wed, 16 Mar 2005 13:24:29 +, John Hunsley <[EMAIL PROTECTED]> wrote:
> Yes I get the same in txttools-web.log. I guess it is auto configured as
> I just followed the instructions and cre
Yes I get the same in txttools-web.log. I guess it is auto configured as
I just followed the instructions and created the log4j.properties file.
I have made sure I do not call anything other than ;
logger.warn(); or,
if(logger.isDebugEnabled() ) logger.debug();
in my code, I do not set logging
Hi,
log4j.category.quality.eprowiz.SimpleLogger=INFO, dest4
log4j.appender.dest4=org.apache.log4j.DailyRollingFileAppender
log4j.additivity.dest4=false
log4j.appender.dest4.File=debuglog.txt
log4j.appender.dest4.DatePattern='.'-MM-dd
log4j.appender.dest4.layout=org.apache.log4j.PatternLay
22 matches
Mail list logo