Re: log4j2 getting started & rolling files

2014-01-06 Thread Joe
Remko Popma-2 wrote > Sorry, the mailing list software doesn't like attachments. Maybe it is > more convenient to open a Jira ticket so you can attach files. Hmm, my post dosn't have attachments, the small source pieces are embedded inside the post. But if you think, then I'll open a jira issue f

Re: log4j2 getting started & rolling files

2014-01-05 Thread Joe
Ok, I'd already tried to do something with @Plugin and @PluginFactory, but I failed (that's why I ask for code snippets). Here is my not functioning testcode. My complete log4j.xml And my complete MyRolloverStrategy.java It compiles without errors or warnings, but when I start the application

Re: log4j2 getting started & rolling files

2013-12-29 Thread Joe
ith @Plugin and @PluginFactory)? - how to write to the logfiles within my rollover method? Could you help me at this point? I would be happy to get some sample source snippets. Cheers, Joe -- View this message in context: http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-ro

Re: Hibernate and Logback

2009-04-10 Thread Joe White
I figured it out.                 Quoting Joe White :    I'm using Hibernate with logback, and it appears that Hibernate is stuck in DEBUG logging mode. The documentation states that it works (Hibernate that is) with logback, but I don't know how to turn it to

Hibernate and Logback

2009-04-10 Thread Joe White
I'm using Hibernate with logback, and it appears that Hibernate is stuck in DEBUG logging mode. The documentation states that it works (Hibernate that is) with logback, but I don't know how to turn it to error only. Here is my logback.xml file.       myApp.log       %dat

Re: AW: Logging issue with logginf to seperate log files

2009-02-26 Thread Joe White
Do you have ? log4j.appender.file.maxBackupIndex=3 where 3 is the amount of files to keep? or ? Quoting Santhoo Kumar : Hai, i'm new to log4j, i found some xml configuration and try that stuff,  it is working fine but i have some problem with DailyRollingFileAppender it is n

Re: Problem in using SMTPAppender with gmail

2008-12-12 Thread Joe White
According to the stack trace, authentication failed. javax.mail.AuthenticationFailedException          at javax.mail.Service.connect(Service.java:319)          at javax.mail.Service.connect(Service.java:169)          at javax.mail.Service.connect(Service.java:118)          at javax.mail.Tra

RE: SMTPAppender

2008-12-04 Thread Joe White
[EMAIL PROTECTED] Gesendet: Donnerstag, 4. Dezember 2008 18:02 An: Log4J Users List Betreff: RE: SMTPAppender Please, could you explain in detail what you would do in this situation? I didn't figure out your suggestion. /Max -Original Message----- From: Joe White [mailto:[EMAIL PROT

RE: SMTPAppender

2008-12-04 Thread Joe White
er.java:189)         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)         ... 28 more -Original Message----- From: Joe White [mailto:[EMAIL PROTECTED] Sent: mercoledì 3 dicembre 2008 20.26 To: [email protected] Subject: Re: SMTPAppender     Gmail

Re: SMTPAppender

2008-12-03 Thread Joe White
Gmail SMTP server requires TLS and it does not use the default port of 25. According to this link: http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 You must use port 456 or 587 for SMTP. However, port is not an option YET in the latest release. (unless 1.2.16 has b

SMTP Appender

2008-11-12 Thread Joe White
I'm trying to use the SMTP Appender but my mail host requires authentication. What are the poper log4j.properties entry for username, password and the port? My host runs off of port 26, not 25.

different log level and appender for different category

2006-06-05 Thread Joe Wong (Mango)
Hi, I am new to Log4j. What is the easiest way to setup log4j so that my application can have different logging level and appender ( different log file ) based on the category name? Regards, - Joe

HTMLLayout

2006-05-26 Thread joe
Howdy all, i want to set timestamp format in HTMLLayout in log4j.. currently it displays time in "milliseconds" however i want it in my own format by changing configuration in .properties file, like HH:mm,how do i do that ? thank

Do Not Log one Logger to Console

2005-08-19 Thread Joe Rice
ternLayout log4j.appender.LogFile.layout.ConversionPattern=%-5p %c{2} - %m%n # Logger that should only log to the file and NOT to the Console log4j.logger.com.mycompany.SpecificLogger = DEBUG, LogFile Any help would be appreciated. Thanks, Joe

Use Log4j from javascript?

2005-03-31 Thread Joe Polanik
I have a Java/JSP application. The backend uses log4j and the JSP frontend uses the log taglib from jakarta. I'd like the javascript on this page to be able to log messages also. Is that possible? Joseph Polanik - To unsubscribe

Re: AW: AW: NullPointerException from MDC in IBM WSAD 5.1/WebSphere 5.0.2

2004-02-05 Thread Joe Niski
Thanks again, Gyoergy - this is exactly the issue. Funny that i opened a trouble ticket w/IBM yesterday. Thanks so much! Joe --- [EMAIL PROTECTED] wrote: > That's weird. Are you sure, that the NPE is thrown > in that line of code and not within the get() method > itself ? The

Re: AW: NullPointerException from MDC in IBM WSAD 5.1/WebSphere 5.0.2

2004-02-04 Thread Joe Niski
ebugger it looks the same as when i'm running in a server that allows the code to succeed. thanks again, Joe --- [EMAIL PROTECTED] wrote: > Hi, > > if > Hashtable ht = (Hashtable) > ((ThreadLocalMap)tlm).get(); > throws a NPE from my point of view tlm is null. > Since y

NullPointerException from MDC in IBM WSAD 5.1/WebSphere 5.0.2

2004-02-03 Thread Joe Niski
WSAD/Websphere versions. i vaguely suspect a security problem, but it's unclear why that would cause an NPE. thanks in advance, Joe __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site buildi

log4j & an applet on a Java 1.1.4 (Microsoft) VM

2004-01-29 Thread joe . combs
an successfully load the applet on a machine with the Sun 1.4.1 plugin installed but if I use the Microsoft VM I get the aforementioned error. All the references I've seen to this error deal with it in tomcat or some other env - not on an applet

RE: log4j.properties not read

2004-01-27 Thread Joe Collins
get the logging working. Though not directly applicable, I hope this may be of some assistance. Regards Joe -Original Message- From: Ionel GARDAIS [mailto:[EMAIL PROTECTED] Sent: 27 January 2004 14:06 To: Log4J Users List Subject: RE: log4j.properties not read Hi there, As I told, that

location / specification of location for log4j

2004-01-23 Thread Joe Collins
where it is some where other than the startup.cmd of my server Or is it because I have the log4j.xml in the wrong directory. Apologies for yet another basic query but I could not find any clarification on the location / specification of the location for log4j.xml. In humble hope yours, Joe

RE: configuring log4j with BEA Weblogic 8.1

2004-01-23 Thread Joe Collins
I have the root level set to ON in the log4j.xml, below is the log4j.xml file, anything obvious a miss?. I did have the appenders set to ConsoleAppender and removed the reference to param name="File", but the logs were still not generated. Many t

configuring log4j with BEA Weblogic 8.1

2004-01-22 Thread Joe Collins
correctly, but could not find any reason why logs would not be generated. Are there any peculiar issues with Weblogic 8.1? or is there a step I have failed to take? Eternally grateful Joe

RE: log4j.xml

2004-01-21 Thread Joe Collins
Thanks For the tip, I am what one might call a newbee to this I was naming my loggers in my log4j.xml and setting their attributes. I then referenced these logger names in my code Should I actually create each logger as a java class and reference this in my code? Many thanks Joe

log4j.xml

2004-01-21 Thread Joe Collins
cated i.e. how is it referenced? Is there any issues with configuring the log4j.xml file in weblogic 8.1? Any help, however small would be greatly appreciated Joe

creating a logging hierarchy

2004-01-16 Thread Joe Collins
config.xml, how are they referenced in a java application? This may be a stupid question but I just need to get started on this and pointers or examples would be very much appreciated. Many Thanks Joe