log4j2 and encoding

2012-11-24 Thread Rainer Hirschmiller
Hi, I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. I'm reading data from a database and log the data for checking. The data contain German special characters. These data are displayed well in the application, e.g. in tables, but wrong while logging the data. The application

回复: log4j2 and encoding

2012-11-24 Thread hualuoxiangxi
I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. A error occured when I tried to run the example application named MyApp. I found the logger of variable is not static, so can't use it in static main Function direction. hualuoxiangxi From: Rainer Hirschmiller Date:

答复: log4j2 and encoding

2012-11-24 Thread Feng Ye
I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. A error occured when I tried to run the example application named MyApp. I found the logger of variable is not static, so can't use it in static main Function direction. -邮件原件- 发件人: Rainer Hirschmiller

回复: log4j2 and encoding

2012-11-24 Thread hualuoxiangxi
hi, I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. A error occured when I tried to run the example application named MyApp. I found the logger of variable is not static, so can't use it in static main Function direction. hualuoxiangxi From: Rainer Hirschmiller Date:

回复: log4j2 and encoding

2012-11-24 Thread hualuoxiangxi
hi, I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. A error occured when I tried to run the example application named MyApp. I found the logger of variable is not static, so can't use it in static main Function direction. There is a picture of marked named configuration on

Re: log4j2 and encoding

2012-11-24 Thread Ralph Goers
Most Layouts accept a charset attribute. You should try specifying ISO-8859-1 there. If that doesn't work please let us know. Ralph On Nov 24, 2012, at 11:37 AM, Rainer Hirschmiller wrote: Hi, I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. I'm reading data from a

Re: log4j2 and encoding

2012-11-24 Thread Ralph Goers
Where are you finding MyApp? A class with that name occurs in several places on the web site. Many of them are meant to be code fragments and are not full applications. Ralph On Nov 24, 2012, at 6:41 PM, Feng Ye wrote: I'm using Windows 7, Java 7 and Log4j2 beta3 and Eclipse Juno. A