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
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
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
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
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
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
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
[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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
26 matches
Mail list logo