Re: Third Party jars using log4j 1

2018-08-20 Thread Remko Popma
at 2:22 PM, Rajvinder Pal wrote: > Hi , > > I have migrated my application to struts 2.5 and it uses log4j2. But in my > application, I am using few third party library jars, which are using > log4j 1. How to deal with such situation? > > Thanks, > Raj >

Third Party jars using log4j 1

2018-08-19 Thread Rajvinder Pal
Hi , I have migrated my application to struts 2.5 and it uses log4j2. But in my application, I am using few third party library jars, which are using log4j 1. How to deal with such situation? Thanks, Raj

Re: Query about Update database log event using log4j

2017-09-12 Thread Matt Sicker
On 12 September 2017 at 09:06, Gaurav Deshpande wrote: > Hi Matt/Ralph > > > > This is a query on log4j2 java API. > > > > Is it possible to update the logged events in database with JDBCAppender > or JPAappender? > The existing API is all for inserts. By nature of how logs work, I've always con

Re: using log4j in classloaders and JMX

2017-03-13 Thread Remko Popma
The Configuration name is not used to register the LoggerContext. JMX MBeans for LoggerContext are registered with unique names: their hashcode is appended to the name. The first part of the name depends on what kind of application it is. I believe that for web apps we try to use a meaningful

Re: using log4j in classloaders and JMX

2017-03-13 Thread Matt Sicker
MBeans are named according to the LoggerContext name which I believe is the name you give in the attribute. On 13 March 2017 at 10:51, Marasoiu Nicolae wrote: > Hi, > > > If log4j2 is used in multiple modules, each living in its own classloader, > is it possible that all of them are exposed ove

using log4j in classloaders and JMX

2017-03-13 Thread Marasoiu Nicolae
Hi, If log4j2 is used in multiple modules, each living in its own classloader, is it possible that all of them are exposed over JMX? If so, what happens to the overlapping keys (paths) ? Is it possible to specify a different JMX root for each one? Thanks, Met vriendelijke groeten / Meilleur

Re: Using log4j SimpleSocketServer with log4j2

2016-01-26 Thread Gary Gregory
Nipuni, For Log4j 2, please see: org.apache.logging.log4j.core.net.server.TcpSocketServer org.apache.logging.log4j.core.net.server.UdpSocketServer Gary On Tue, Jan 26, 2016 at 9:25 PM, Nipuni Piyabasi Perera < [email protected]> wrote: > Hi all, > > I am trying to save logs sent to a serv

Using log4j SimpleSocketServer with log4j2

2016-01-26 Thread Nipuni Piyabasi Perera
Hi all, I am trying to save logs sent to a server(log4j SimpleSocketserver) via SocketAppender. I have tried this with log4j and log4j2 as follows. *Working scenario: * Log4j.properties configuration: # MY_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout. log4j.appender.MY_

Exception using log4j-web and spring WebApplicationInitializer

2015-07-07 Thread Jose Luis Valencia
I want to use log4j-web in a app that uses spring WebApplicationInitializer but when I include log4j-web dependency the application gives this exception: java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have

Re: Question about using log4j

2015-07-06 Thread Gary Gregory
If the machine crashes, open files are at the whim of your OS... The '@' are probably what is on the disk near the end of the file. Gary On Wed, Jul 1, 2015 at 1:43 AM, dyf6372 wrote: > We use log4j to print the log about our system. Sometimes the computer > will be crashed and reboot. Before t

Question about using log4j

2015-07-01 Thread dyf6372
We use log4j to print the log about our system. Sometimes the computer will be crashed and reboot. Before the computer down, the log4j will print many "@". I want to know what the meaning of “@“ is and when it will appear. Thank you very much! My Best Wishes! 董一峰 15201346372 [email protected] dy

Trouble using Log4J 2.1 in Eclipse

2014-10-24 Thread Marcus Meier
I'm having trouble getting Log4J 2.1 to recognize my log4j2.xml file. I'm setting it up with SLF4J but I removed SLF4J from my project and the problem persists. I've documented everything in a StackOverflow post but haven't received a response from there yet. I'm hoping someone on this list will be

Re: Using log4j-jcl and log4j-1.2-api in an OSGi environment.

2013-08-29 Thread Roland
-- View this message in context: http://apache-logging.6191.n7.nabble.com/Using-log4j-jcl-and-log4j-1-2-api-in-an-OSGi-environment-tp40231p40247.html Sent from the Log4j - Users mailing list archive at Nabble

Re: Using log4j-jcl and log4j-1.2-api in an OSGi environment.

2013-08-28 Thread Roland
Currently I have no time, but I will try to create a complete environment at the weekend. You can see which components I use. -- View this message in context: http://apache-logging.6191.n7.nabble.com/Using-log4j-jcl-and-log4j-1-2-api-in-an-OSGi-environment-tp40231p40237.html Sent from the

Re: Using log4j-jcl and log4j-1.2-api in an OSGi environment.

2013-08-28 Thread Ralph Goers
|2|Jackson-core (2.2.2) > 25|Active |2|jackson-databind (2.2.2) > 26|Active |2|JSON.simple (1.1.1) > 27|Active |2|MongoDB Java Driver (2.11.2.RELEASE) > 28|Active |2|slf4j-api (1.7.5) > 29|Active |2|slf4j-ext (1.7.5) > >

Using log4j-jcl and log4j-1.2-api in an OSGi environment.

2013-08-28 Thread Roland
2|JSON.simple (1.1.1) 27|Active |2|MongoDB Java Driver (2.11.2.RELEASE) 28|Active |2|slf4j-api (1.7.5) 29|Active |2|slf4j-ext (1.7.5) -- View this message in context: http://apache-logging.6191.n7.nabble.com/Using-log4j-jcl-and-log4j-1-2-api-in-an-OSGi-environment-tp4

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Ralph Goers
figuration parameters than Log4j 1.x. On Oct 19, 2012, at 1:18 PM, Zhu Wayne wrote: > That is a good news. Could I still use log4.properties instead of JSON or > XML format? > > On Fri, Oct 19, 2012 at 3:14 PM, Ralph Goers > wrote: > >> The log4j 1.x adapter should allow an appl

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Zhu Wayne
That is a good news. Could I still use log4.properties instead of JSON or XML format? On Fri, Oct 19, 2012 at 3:14 PM, Ralph Goers wrote: > The log4j 1.x adapter should allow an application that logs using log4j > 1.x to run unchanged but log via log4j 2. However, the adapter has been >

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Ralph Goers
The log4j 1.x adapter should allow an application that logs using log4j 1.x to run unchanged but log via log4j 2. However, the adapter has been updated since the beta2 release to contain more methods and classes that an application might use to configure log4j 1.x. Most of these will be no-ops

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Zhu Wayne
Thanks for the clarification. Does the adapter enable no code change on the existing application code using log4j 1.2.x logging? Moreover, does it mean that I can use both log4j and log4j2 to log via log4j2 implementation in my application code? On Fri, Oct 19, 2012 at 11:52 AM, Ralph Goers

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Ralph Goers
> Thanks Ralph. I looked at POM but could not find how to use both log4j1.2.x > and log4j2 together. I can run embedded agent code with log4j2 alone fine. > The issue is that Hadoop Mapreduce code using log4j call my PIG UDF(user > defined function) which uses log4j2. Somehow, I have

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Zhu Wayne
Thanks Ralph. I looked at POM but could not find how to use both log4j1.2.x and log4j2 together. I can run embedded agent code with log4j2 alone fine. The issue is that Hadoop Mapreduce code using log4j call my PIG UDF(user defined function) which uses log4j2. Somehow, I have to make these two co

Re: log4j2 integration with Hadoop using log4j

2012-10-19 Thread Ralph Goers
j2 Flume Embedded Agent in PIG UDF code to send UDF > logs from Data Nodes. However, Hadoop is on log4j 1.2.x version. How could > I use both log4j and log4j2 on the same JVM? PIG UDF using log4j2 will be > called in Hadoop MapReduce using log4j 1.2.x. > > Regards, > Wayne

Re: Using Log4J with an existing java.util.logging appender

2012-02-28 Thread Douglas E Wegscheid
sitatingly is a wrong note. A wrong note played with conviction is interpretation." Edmondo Porcu 02/28/2012 03:08 AM Please respond to "Log4J Users List" To "[email protected]" cc Subject Using Log4J with an existing java.util.logging appender

AW: Using Log4J with an existing java.util.logging appender

2012-02-28 Thread Stadelmann Josef
rokers.com] Gesendet: Dienstag, 28. Februar 2012 09:08 An: [email protected] Betreff: Using Log4J with an existing java.util.logging appender Dear all, Given an application server with his logging (based on jdk logging) I would need my application which uses log4j to log some informat

Using Log4J with an existing java.util.logging appender

2012-02-28 Thread Edmondo Porcu
Dear all, Given an application server with his logging (based on jdk logging) I would need my application which uses log4j to log some information on the application server appender. Is that feasible? Thank you very much Best Regards Edmondo PORCU Associate - Financial software architect edm

Re: Time and Size based rolling (using log4j companions extras)

2011-07-07 Thread Olivier Jaquemet
Hello Tushar, Have it been that simple I had done it before ... Changing the time pattern would indeed solve the size trigger, as the filename would be different from the minute before, but would also change the schedule I want regarding timed rolling. Check Simon Park's site, you'll see a gr

Re: Time and Size based rolling (using log4j companions extras)

2011-07-07 Thread Olivier Jaquemet
eaded applications that can easily log 100s of MB per minute. Best Regards, Simon From: Olivier Jaquemet To: [email protected] Sent: Tue, 5 July, 2011 16:28:38 Subject: Time and Size based rolling (using log4j companions extras) Hi, I am trying to get log

Re: Time and Size based rolling (using log4j companions extras)

2011-07-06 Thread Tushar Kapila
Add hour and minute to file name pattern On 7/5/11, Olivier Jaquemet wrote: > Hi, > > I am trying to get log4j to roll log file on a timely basis (weekly), > while also splitting log files which grow too big. > Exactly the same thing provided in logback through SizeAndTimeBasedFNATP : > http://lo

Re: Time and Size based rolling (using log4j companions extras)

2011-07-06 Thread Simon Park
eaded applications that can easily log 100s of MB per minute. Best Regards, Simon From: Olivier Jaquemet To: [email protected] Sent: Tue, 5 July, 2011 16:28:38 Subject: Time and Size based rolling (using log4j companions extras) Hi, I am trying to get

Time and Size based rolling (using log4j companions extras)

2011-07-05 Thread Olivier Jaquemet
Hi, I am trying to get log4j to roll log file on a timely basis (weekly), while also splitting log files which grow too big. Exactly the same thing provided in logback through SizeAndTimeBasedFNATP : http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedFNATP In order to do that I tried

Re: RollingFileAppender: Using log4j in 2 separate classpath while logging in a single file.

2011-02-11 Thread Hugo Villeneuve
Hello Curt I read this bug report before. It is about the 2 separate Process accessing the same file. My problem is when log4j is in 2 separate classloader and writing in the same File. Do you know if bug report also apply to my problem? When running in 2 separate classpath on a single jvm, they

Re: RollingFileAppender: Using log4j in 2 separate classpath while logging in a single file.

2011-02-10 Thread Curt Arnold
On Feb 10, 2011, at 12:48 PM, Hugo Villeneuve wrote: > Hello > > > > I have a different behaviour when I use DailyRollingFileAppender vs the > RollingFileAppender. > > > > My setup is the following: Running in WAS (on AIX 6.1), I have 2 separate > WebApplication. Each have a Log4j Instance

RollingFileAppender: Using log4j in 2 separate classpath while logging in a single file.

2011-02-10 Thread Hugo Villeneuve
Hello I have a different behaviour when I use DailyRollingFileAppender vs the RollingFileAppender. My setup is the following: Running in WAS (on AIX 6.1), I have 2 separate WebApplication. Each have a Log4j Instance in their isolated classpath. Both WebApp are configured to use a DailyRolling

WARN messages when using Log4j

2010-12-15 Thread Ricard López
Hi, I'm getting WARN messages when using Log4j, specifically the messages are: log4j:WARN Continuable parsing error 23 and column 69 log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null". log4j:WARN Continuable parsing error 23 and column

Version Based Logging using Log4j

2010-08-25 Thread Jav Angelo
cular requirement or changes of your. I am hoping it will be useful for the community. http://www.technimi.com/index.php?do=/neeraj/blog/version-based-logging-using-log4j/ I am open to any comments on this, so that I can improve upon the idea. Also if some one knows if we can do it in a better wa

Using log4j with JavaFX and Netbeans 6.8

2010-04-19 Thread Lichti
gurator; But using the Logger class does not work: def log:Logger = Logger.getLogger("MyApp.class"); NetBeans says 'cannot find symbol' When I'm doing the same things within a Java project, everything works fine. What am I doing wrong? thanks -- View this message

Re: Can I add a header to a log file using log4j

2009-08-21 Thread Alexander
Maybe this would give you some ideas http://marc2.theaimsgroup.com/?l=log4j-user&m=102804129921699&w=2 2009/8/21 Gurdeep Singh > Hi All, > > My log file needs a have a single header followed by entries. Is it > possible using log4j. > > -Gurdeep > -- Regards, Alexander

Can I add a header to a log file using log4j

2009-08-21 Thread Gurdeep Singh
Hi All, My log file needs a have a single header followed by entries. Is it possible using log4j. -Gurdeep

Re: Processing XML log files generated using log4j

2009-03-30 Thread sasuke
> the XML with a SQL-like syntax. > > Also the Apache Chainsaw and Lilith logviewers allow you to read in > these XMl snippets and see them. > Ah, sounds interesting; worth a try. Thanks for the suggestion. :-) ./sasuke -- View this message in context: http://www.nabble.co

Re: Processing XML log files generated using log4j

2009-03-27 Thread Thorbjørn Ravn Andersen
sasuke skrev den 24-03-2009 05:58: It would be appreciated if someone could suggest a simpler and less painful approach for this problem. Try having a look at the Microsoft LogParser which allow you to query the XML with a SQL-like syntax. Also the Apache Chainsaw and Lilith logviewers all

Processing XML log files generated using log4j

2009-03-23 Thread sasuke
f someone could suggest a simpler and less painful approach for this problem. -- View this message in context: http://www.nabble.com/Processing-XML-log-files-generated-using-log4j-tp22674318p22674318.html Sent from the Log4j - Users mailing list archiv

Is there an option to record ip address in the log files generated using log4j?

2008-11-21 Thread sathish kumar
Thanks and Regards, Sathish Kumar

How to split values using log4j .properties

2008-11-20 Thread manish_goyal
into different column? Any pointers would be greatly appreciated. Thanks. Regards, Manish -- View this message in context: http://www.nabble.com/How-to-split-values-using--log4j-.properties-tp20616399p20616399.html Sent from the Log4j - Users mailing list archive at Nabble.com

Re: How is the log4j.xml file located when running a program using Log4J - no workie

2008-08-11 Thread Thorbjørn Ravn Andersen
CheapLisa skrev den 11-08-2008 21:55: I am not running inside maven (just yet but that is the next step). Right now I want to run inside my IDE. The log4j.xml file needs to be in your classpath to be found. Is it? -- Thorbjørn Ravn Andersen "... plus...

How is the log4j.xml file located when running a program using Log4J - no workie

2008-08-11 Thread CheapLisa
text: http://www.nabble.com/How-is-the-log4j.xml-file-located-when-running-a-program-using-Log4J---no-workie-tp18932490p18932490.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAI

Re: displaying log messages in weblogic console using log4j

2008-07-29 Thread Jacob Kjome
That all depends what the Admin Console displays.  Does it display the "console.log" file, which contains any contents written to System.out?  If it's just an arbitrary log file, you can always have Log4j append to it.  As long as the same VM is being used for both, there should be no problems (

Re: displaying log messages in weblogic console using log4j

2008-07-29 Thread Naina G
Hello Jake, Thank you so much for the response. Yes, I mean weblogic's console. Can we do that by using just log4j ? Do we not need weblogic logging services? And how do we use the console appender to point to weblogic console so that the messages go to weblogic console? Thanks again. *PS: By say

Re: displaying log messages in weblogic console using log4j

2008-07-29 Thread Naina G
Hello Jake, Thank you so much for the response. Yes, I mean weblogic's console. Can we do that by using just log4j ? Do we not need weblogic logging services? And how do we use the console appender to point to weblogic console so that the messages go to weblogic console? Thanks again. Thanks and

Re: displaying log messages in weblogic console using log4j

2008-07-29 Thread Jacob Kjome
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

displaying log messages in weblogic console using log4j

2008-07-29 Thread Naina G
Hello, I would like to know if we can use log4j to direct the application logs to weblogic console. Or do we need to go for weblogic logging services for that. Please help. Thanks and Regards, Naina.

Directing logs to weblogic console using log4j

2008-07-24 Thread Naina
Hello all, Can we direct the logs to weblogic console when we are using log4j, I mean without using weblogic logging services. And if yes, how ? And which appender do i use ? Thanks and Regards, Naina.

Move app from using log4j-1.3alpha-6 to log4j-1.2.11 (or 13)

2008-07-02 Thread Chris Pratt
Hi all, I was trying to find some documentation on 1.3 in order to determine what are the differences in classes or methods between it and later versions of 1.2. I have an app using 1.3 that I need to move to using 1.2. I'm looking to determine calls that don't exist in 1.2 or those with the sam

Re: using log4j with OAS for some reasone all the logging activity hangs from all the applications deployed

2008-07-01 Thread James A. N. Stauffer
AIL PROTECTED]> wrote: > Dear All, > > I'm using log4j to log the events that appears in a certain application > under > Oracle Application Server. This application includes sub-application but all > are sharing the same log4j properties file. For some reasons the logging in &

using log4j with OAS for some reasone all the logging activity hangs from all the applications deployed

2008-06-30 Thread Amgad Mohamed
Dear All, I'm using log4j to log the events that appears in a certain application under Oracle Application Server. This application includes sub-application but all are sharing the same log4j properties file. For some reasons the logging in all sub-applications stops and I don't kno

Re: A quick question about sending an email by using log4j in the MS exchange environment

2008-06-25 Thread Boonlit Adipat
Thank you very much for your response. I really appreciate it =) On Wed, Jun 25, 2008 at 2:11 AM, Juha Laiho <[EMAIL PROTECTED]> wrote: > Boonlit Adipat wrote: > >> I am >> trying to use log4j to send an email notification to an administrator if >> errors occur in my system. >> >> What should be

Re: A quick question about sending an email by using log4j in the MS exchange environment

2008-06-24 Thread Juha Laiho
Boonlit Adipat wrote: I am trying to use log4j to send an email notification to an administrator if errors occur in my system. What should be the value for the "SMTPHost" in the log4j.xml if my company uses *Microsoft Exchange Server* as the email server. That is a question to ask from - syst

A quick question about sending an email by using log4j in the MS exchange environment

2008-06-24 Thread Boonlit Adipat
Dear all I am sorry that I bother you during your busy schedule. Currently, I am trying to use log4j to send an email notification to an administrator if errors occur in my system. What should be the value for the "SMTPHost" in the log4j.xml if my company uses *Microsoft Exchange Server* as th

RE: Logging events in Applet to server using log4j?

2008-02-19 Thread Ruchi Mishra
Subject: Re: Logging events in Applet to server using log4j? This isn't really a log4j question, because it is because your applet is running in the browser sandbox, and has no permission to create a Socket to any other host other than the host it was launched from. You'll need to con

Re: Logging events in Applet to server using log4j?

2008-02-19 Thread Paul Smith
a critical system resource such as the file system or the network) is denied. "123.45.67.89" is the IP-address of my system -- View this message in context: http://www.nabble.com/Logging-events-in-Applet-to-server-using-log4j--tp15560516p155605

Logging events in Applet to server using log4j?

2008-02-19 Thread AbelMacAdam
AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied. "123.45.67.89" is the IP-address of my system -- View this message in context: http://www.nabble.com/Logging-events-in-Applet-to-server-using-log4j--tp

Re: using log4j to try to log from tomcat webapps

2008-01-24 Thread Jacob Kjome
I answered this question in the other thread you posted. Please read it. Jake On Thu, 24 Jan 2008 14:12:23 -0500 "Albretch Mueller" <[EMAIL PROTECTED]> wrote: ... Webapps to log using Log4j ~ I was able to make tomcat itself log using the doc at: ~ http://tomcat.apache.or

Re: using log4j to try to log from tomcat webapps

2008-01-24 Thread Albretch Mueller
> ... Webapps to log using Log4j ~ I was able to make tomcat itself log using the doc at: ~ http://tomcat.apache.org/tomcat-6.0-doc/index.html ~ but I haven't been able to use that doc to make webapps log ~ I will try to use log4j programmatically from a webapps context listener and

Re: using log4j to try to log from tomcat webapps

2008-01-24 Thread Jacob Kjome
You are trying to get Tomcat to log using Log4j or Webapps to log using Log4j. The former is somewhat involved and is documented in Tomcat's docs. The latter (assuming you are using Tomcat standalone), is pretty simple. Place log4j.jar in each webapp's WEB-INF/lib directory and lo

using log4j to try to log from tomcat webapps

2008-01-24 Thread Albretch Mueller
Hi, ~ I am trying to enable log4j logging in tomcat version 6.0.14 ~ I am using java version "1.6.0_02" on windows: ~ C:\cmllpz\prjx\java\GWB\tc\tc-6.0.14\00_Virgin\bin>java -version java version "1.6.0_02" Java(TM) SE Runtime Environment (build 1.6.0_02-b06) Java HotSpot(TM) Client VM (build 1.

Re: Using Log4j in an Applet?

2008-01-11 Thread Maarten Bosteels
log4j.appender.R.layout=org.apache.log4j.PatternLayout > > >> log4j.appender.R.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c - %m%n > > >> > > >> I use the following command to start the SimpleSocketServer: > > >> java -cp D:\lib\apache-log4j-1.2.15\log4j-1

Re: Using Log4j in an Applet?

2008-01-11 Thread James A. N. Stauffer
g command to start the SimpleSocketServer: > >> java -cp D:\lib\apache-log4j-1.2.15\log4j-1.2.15.jar > >> org.apache.log4j.net.SimpleSocketServer 13013 > >> d:\workspace\myApp\WEB-INF\classes\log4j.properties > >> > >> Stating the obvious, a myApp.log is

Re: Using Log4j in an Applet?

2008-01-11 Thread AbelMacAdam
pache.log4j.net.SimpleSocketServer 13013 >> d:\workspace\myApp\WEB-INF\classes\log4j.properties >> >> Stating the obvious, a myApp.log is created in the correct place. >> >> >> >> There seems to fail something in my log4j.properties file. Something like >&g

Re: Using Log4j in an Applet?

2008-01-11 Thread James A. N. Stauffer
here seems to fail something in my log4j.properties file. Something like a > server (localhost:13013)? What do I add to this file? > > TIA > Abel > > -- > View this message in context: > http://www.nabble.com/Using-Log4j-in-an-Applet--tp14753143p14753143.html > Sent from

Using Log4j in an Applet?

2008-01-11 Thread AbelMacAdam
us, a myApp.log is created in the correct place. There seems to fail something in my log4j.properties file. Something like a server (localhost:13013)? What do I add to this file? TIA Abel -- View this message in context: http://www.nabble.com/Using-Log4j-in-an-Applet--tp14753143p14753143.html

Re: Missing or duplicate logging entries using log4j

2008-01-04 Thread Jacob Kjome
4j.properties below: http://www.nabble.com/file/p14622776/startup-log4j.properties startup-log4j.properties http://www.nabble.com/file/p14622776/webapp-log4j.properties webapp-log4j.properties Thanks, James -- View this message in context: http://www.nabble.com/Missing-or-duplicate-logging

Re: Missing or duplicate logging entries using log4j

2008-01-04 Thread jchi
/webapp-log4j.properties webapp-log4j.properties Thanks, James -- View this message in context: http://www.nabble.com/Missing-or-duplicate-logging-entries-using-log4j-tp14589237p14622776.html Sent from the Log4j - Users mailing list archive at Nabble.com

Re: Missing or duplicate logging entries using log4j

2008-01-03 Thread Jacob Kjome
It would help to see your config. BTW, what server? And are you sure you don't have log4j.jar in the EAR (such as APP-INF/lib under Weblogic) or in the server's lib directory? Or, there's always the possibility of a log4j.xml sitting somewhere in the parent classloader and it is getting pick

Missing or duplicate logging entries using log4j

2008-01-02 Thread jchi
does not get logged or get logged twice. Has anyone run into this problem? -- View this message in context: http://www.nabble.com/Missing-or-duplicate-logging-entries-using-log4j-tp14589237p14589237.html Sent from the Log4j - Users mailing list archive at Nabble.com

Using Log4j in struts for application logs

2007-12-26 Thread Raghuveer
Hello, Question 1 I have placed "log4j.properties" in WEB-INF of my struts application. With this application logs "test.log" is created in the directory. I found in all the logs were created for java files in package "com.testapp.test" to "test.log" In addition to this there is one m

Re: Logging custom level using log4j in java

2007-12-06 Thread orko
A good example will be found here: http://jaikiran.wordpress.com/2006/07/12/create-your-own-logging-level-in-log4j/ Curt Arnold <[EMAIL PROTECTED]> wrote: On Dec 6, 2007, at 5:19 PM, chiran wrote: > > Hi all, > It is very easy to create a custom log4j level. > All u need is the basic understandi

Re: Logging custom level using log4j in java

2007-12-06 Thread Curt Arnold
On Dec 6, 2007, at 5:19 PM, chiran wrote: Hi all, It is very easy to create a custom log4j level. All u need is the basic understanding of how the different levels are organized. Good example of extending levels for the right reason. Praveen Kumar Hasthalapuram wrote: Hi All, I nee

Re: Logging custom level using log4j in java

2007-12-06 Thread chiran
tom levels? > > Is there any provision to create custom levels and to configure it? > > I heard that by Filters we can do this, It will be great if anyone throw > some light on this. > > Thanks In Advacne, > > Praveen > > -- View this message in context: ht

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread Paul Smith
regarding log4j and propagating errors in a program flow. I'm currently developing test case scripts using Rational Functional Tester which has a poor logging system and I've looked into using log4j instead. I can't find a way to make log4j propagate errors to a "high

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread Ceki Gulcu
've looked into using log4j instead. I can't find a way to make log4j propagate errors to a "higher instance". What I would like is for errors found in the "middle" of the program flow to propagate to the last stage of the process. An example flow where an error in

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread James Stauffer
nal Tester which has a poor logging system and I've looked into using log4j instead. I can't find a way to make log4j propagate errors to a "higher instance". What I would like is for errors found in the "middle" of the program flow to propagate to the last stage of the

Propagate errors in a scripting application using log4j

2007-07-09 Thread minimoe
Hi! I've got a question regarding log4j and propagating errors in a program flow. I'm currently developing test case scripts using Rational Functional Tester which has a poor logging system and I've looked into using log4j instead. I can't find a way to make log4j propagate

Custom fields using Log4j JDBCAppender

2007-06-06 Thread Shah, Tejas
Hello, I am using JDBCAppender to log information into a database. I need to log several custom fields along with logging message and default fields provided by JDBCAppender. I have searched about this issue and found out a post from 2003 which does outline an alternative approach using Extende

Re: Using Log4J

2007-01-27 Thread James Stauffer
ample. Hope, I'm not hurting you. We can even talk... [EMAIL PROTECTED] as I need this badly and quickly... Thanks again padmanaban -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Saturday, January 27, 2007 10:17 PM To: Padmanaban Varatharajan Subject: Re: Using Log

RE: Using Log4J

2007-01-27 Thread Padmanaban Varatharajan
mp; Regards Padmanaban -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 8:51 PM To: Log4J Users List Subject: Re: Using Log4J There should be no problems doing that. You will just want to set the Threshold to ERROR on NEWCONSOLE

Re: Using Log4J

2007-01-25 Thread James Stauffer
There should be no problems doing that. You will just want to set the Threshold to ERROR on NEWCONSOLE. On 1/25/07, Padmanaban Varatharajan <[EMAIL PROTECTED]> wrote: Hi All, In Log4J, I have to use the same properties file (log4j.properties) in which I have certain configuration details al

Using Log4J

2007-01-25 Thread Padmanaban Varatharajan
Hi All, In Log4J, I have to use the same properties file (log4j.properties) in which I have certain configuration details already defined with the following: Existing: log4j.rootcategory=INFO, CONSOLE, LOGFILE * Default logging level is INFO and two appenders. * One is

Re: Using log4j in Tomcat

2006-11-07 Thread Jacob Kjome
assume that works in properties files but I know it does in xml > files). > > > > > > On 11/7/06, ying lcs <[EMAIL PROTECTED]> wrote: > > > > I have the following log4j property file, and I am using log4j in my > tomcat. > > > > > > > >

Re: Using log4j in Tomcat

2006-11-07 Thread James Stauffer
gt; > On 11/7/06, ying lcs <[EMAIL PROTECTED]> wrote: > > I have the following log4j property file, and I am using log4j in my tomcat. > > > > Can you please tell me how can I specify the location of the log > > file so that it is in the inside the webapp directory o

Re: Using log4j in Tomcat

2006-11-07 Thread ying lcs
he tomcat install by using ${catalina.home}/access.log (I assume that works in properties files but I know it does in xml files). On 11/7/06, ying lcs <[EMAIL PROTECTED]> wrote: > I have the following log4j property file, and I am using log4j in my tomcat. > > Can you please tell me h

Re: Using log4j in Tomcat

2006-11-07 Thread James Stauffer
You can make it relative to the tomcat install by using ${catalina.home}/access.log (I assume that works in properties files but I know it does in xml files). On 11/7/06, ying lcs <[EMAIL PROTECTED]> wrote: I have the following log4j property file, and I am using log4j in my tomcat. C

Using log4j in Tomcat

2006-11-07 Thread ying lcs
I have the following log4j property file, and I am using log4j in my tomcat. Can you please tell me how can I specify the location of the log file so that it is in the inside the webapp directory of the tomcat that I deploy? I don't know the location of the tomcat, so I can't put abs

Re: Using Log4j inside of JAR files

2006-10-05 Thread James Stauffer
It should still be fine. The only difference is that the bigger program may configure log4j so you would have to work with that. On 10/5/06, Tyler Cvetan <[EMAIL PROTECTED]> wrote: The bigger program acutally does use log4j, is this possible and/or would I need to configure this differently? J

Re: Using Log4j inside of JAR files

2006-10-05 Thread Tyler Cvetan
The bigger program acutally does use log4j, is this possible and/or would I need to configure this differently? James Stauffer wrote: It appears you want to use log4j in a jar that runs in a bigger program. Your classes should use Loggers like normal but not configure log4j. Assuming the big

Re: Using Log4j inside of JAR files

2006-10-05 Thread James Stauffer
It appears you want to use log4j in a jar that runs in a bigger program. Your classes should use Loggers like normal but not configure log4j. Assuming the bigger program doesn't use lo4j you should configure log4j by including a log4j.xml file in the classpath (not in your jar) when you start th

Using Log4j inside of JAR files

2006-10-05 Thread Tyler Cvetan
I need some help, if this is possible, to get logs created inside of a JAR file. I have a JAR file that I am using as an image plug-in that has a bunch of calls to create logs for some debugging. But I am not sure how to get this to post to a log file, from a JAR? Any help would be great.

CLOB inside Oracle using log4j

2006-05-24 Thread castrix
Does anybody know how one can insert CLOB data inside an Oracle DB using log4j Appenders ? I suppose I haven't been the only one to deal with this problem. In other words is there a way one can set the configuration of a log4j.xml file for this purpose ? May be there is a dedicated packa

Re: How to read the logs written using log4j

2006-02-06 Thread James Stauffer
; -Original Message- > From: James Stauffer [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 02, 2006 9:58 PM > To: Log4J Users List > Subject: Re: How to read the logs written using log4j > > You could sent the logs to a database and have your JSP read from > that.

RE: How to read the logs written using log4j

2006-02-02 Thread D.V.Dayakar Rao
-Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 9:58 PM To: Log4J Users List Subject: Re: How to read the logs written using log4j You could sent the logs to a database and have your JSP read from that. You could also write your own appender to

Re: How to read the logs written using log4j

2006-02-02 Thread James Stauffer
; > -Original Message- > From: Sriram Venkatasubramanian > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 01, 2006 11:56 AM > To: Log4J Users List > Subject: RE: How to read the logs written using log4j > > You can write a custom layout class (ApplicationLoggingLayout ) whic

  1   2   >