Sam wrote:
Thanks for the follow up. I did some more testing and using the property '
log4j.appender.ErrorMonitor.Encoding=UTF-8' did work correctly. I was able
to see UTF-8 chars in my logs. The confusing bit is that the rolling file
appender is outputting a file that does not have any bits spe
Curt Arnold wrote:
On May 8, 2006, at 1:33 AM, David Hosier wrote:
...
Anyway...thanks again for the reply, looking forward to hearing other
people's thoughts.
I'd suggest creating a static helper class that generates a message
object and then calls logger methods. The message object's
Hi all,
I wanna use logging facility in my struts framework, and I have
log4j-1.2.13.jar & xerces.jar files in place.
But, after I created log4j.xml, I always get error on this following line:
It says the system could not found file log4j.dtd.
Anyone have any idea what is wrong with that?
Zheng Wen Zhe wrote:
Hi all,
I wanna use logging facility in my struts framework, and I have
log4j-1.2.13.jar & xerces.jar files in place.
But, after I created log4j.xml, I always get error on this following line:
It says the system could not found file log4j.dtd.
Anyone have any idea what i
See the Apache Licensing and Distribution FAQ at http://
www.apache.org/foundation/licence-FAQ.html. There are publicly
accessible Maven repositories that distribute log4j, so at least
those entities felt they were could distribute log4j through a
publicly accessible Maven repository and ad
Hi,
I would like to have my Debug and Info messages into Debug.log and Info.log
respectively, this works fine, but now i would like to have it in the log files
with the format- -MM-dd-Debug.log and -MM-dd-Info.log respectively.
how do i go about it???
Any help would be greatly appre
in log4j1.3, i do something like this to put the date in the filename
On Thursday 11 May 2006 15:21, Kailash KN wrote:
> Hi,
> I would like to have my Debug and Info messages into Debug.log and Info.log
> respectively, this works fine, but now i would
Create a new appender. I wrote a 1.2 appender that can do that. 1.3
may be able to do this.
On 5/11/06, Kailash KN <[EMAIL PROTECTED]> wrote:
Hi,
I would like to have my Debug and Info messages into Debug.log and Info.log
respectively, this works fine, but now i would like to have it in the l
Yes, it's working for me like a charm as well. I just created a class
hierarchy for logging events. Then I created an Appender and narrowed that
appender to only be used with very specific Categories. Then in my code I
create a Logger for those specific Categories and pass instances of my
loggin
Hi all,
This is my A Java class with logger resides.
My question is why those loggers don't execute when this class is called?
Cheers,
Jason
import org.apache.log4j.Logger;
..
public class LoginAction extends Action {
static Logger logger =
How does your config file look?
Heri
> -Original Message-
> From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 11, 2006 5:16 PM
> To: 'Log4J Users List'
> Subject: why my logger doesn't get executed??
>
>
> Hi all,
>
> This is my A Java class with logger resides.
>
> M
I put the followings in the web.xml. I use struts framework, and didn't
touch the strut-config.xml.
log
/WEB-INF/log4j.xml
-Original Message-
From: Bender Heri [mailto:[EMAIL PROTECTED]
Sent: 11 May 2006 16:40
To: Log4J Users List
Subject: RE: why my logger doesn't get
Your XML editor tells you about this error or do you get a java exception at
runtime saying this? Ignore the former, and I'd be very surprised if you see
the latter.
Jake
Quoting paul womack <[EMAIL PROTECTED]>:
> Zheng Wen Zhe wrote:
> > Hi all,
> >
> > I wanna use logging facility in my stru
What exactly do you expect that to do? Put log4j.jar in WEB-INF/lib and
log4j.xml in WEB-INF/classes and Log4j will auto-configure itself (assuming you
are using a server like Tomcat where it uses child-first classloading behavior).
Jake
Quoting Zheng Wen Zhe <[EMAIL PROTECTED]>:
> I put the f
Thanks Dirk and James, but i use a property file not an XML file, anyways
ill give it a shot.
james, i did not understand your reply, could be please be more precise.
Thanks & Regards,
Kailash.K.N.
- Original Message -
From: "dirk ooms" <[EMAIL PROTECTED]>
To: "Log4J Users List"
Sen
Hi,
I have a framework that implements the logging by log4j.
Now my classes need to log using this and I need to print the line
number from where the log originally originated from.
I will explain what I want with an example.
I have three classes which i am enclosing here.
TestLogging.java (Test
16 matches
Mail list logo