Re: "" cause html log file cannot be displayed correctly.

2016-10-11 Thread Emi
Hi Gary, Can you please post your configuration file? I've removed nonHtml section(s) from log4j2.xml file. --

"" cause html log file cannot be displayed correctly.

2016-10-07 Thread Emi
Hello, Tried log4j2.7, when stop/reload tomcat, html log file shows wrong format. This happens only when there are already previous records in the html log file. Debug steps: (1) run login and log one/two records in html format (2) stop webapp reinstalled webapp

Re: 2.6.2 minSize; reload tomcat - html log did not show correctly

2016-07-18 Thread Emi
attachments are discarded by the mailing list software so I couldn’t look at the log file. Send to email as well. Which file has the problem? The one specified on fileName or the one in filePattern? fileName - debug.html. Only 3 lines in the file. OnStartupTriggeringPolicy specifically

2.6.2 minSize; reload tomcat - html log did not show correctly

2016-07-11 Thread Emi
Hello, upgraded to 2.6.2 with minSize setup, when reload tomcat, debug.html are not shown correctly. log4j.xml: Steps: Start tomcat7, Log message, reload tomcat7: debug.html are not shown correctly. " " are shown

About onStartTriggeringPolicy for 2.6.1

2016-06-13 Thread Emi
Hello, For 2.6.1, added onStartTriggeringPolicy: . Reload/restart tomcat debug.html is changed to debug-1.html automatically (even debug.html=10kb) New debug.html is created So, it's not possible when debug.html

2.6 html format - "" inserted in the middle of when restart tomcat

2016-06-01 Thread Emi
Hello, Updated 2.3 to 2.6. When reload tomcat7, the logfile (html format) not shown correctly: 13942164 http-bio-. INFO ActionClass .. 13936096 http-bio.50 WARN . "" is added in the middle, so html file cannot be printed correctly. Can someone help how to

Hide *.jar

2015-06-29 Thread Emi Lu
Hello List, May I know how to hide the following *.jar info please? at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123) ~[hibernate-core-4.3.8.Final.jar:4.3.8.Final] at

Re: Hide *.jar

2015-06-29 Thread Emi Lu
This is an excerpt from a stack trace. Assuming it is coming from a log message (you don’t actually have enough below to know for sure), then to filter specific packages from the stack trace you would need to use the filters keyword on the rEx or xEx converters in the PatternLayout. If you

Re: Hide *.jar

2015-06-29 Thread Emi Lu
it, is this the main difference between xEx vs. rEx? Thanks again. On Jun 29, 2015, at 9:19 AM, Emi Lu em...@encs.concordia.ca wrote: Mailing list bounced my email. Forwarded Message Subject:Re: Hide *.jar Date: Mon, 29 Jun 2015 12:16:34 -0400 From: Emi Lu em

Re: log4j2 for java 1.6.x?

2015-05-26 Thread Emi Lu
release if it is needed. Ralph On May 25, 2015, at 11:06 AM, Emi Lu em...@encs.concordia.ca wrote: On 05/25/2015 01:40 PM, Andreas Opitz wrote: Hi for more details, see https://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201505.mbox/%3CCACZkXPwJRPVkcmYOQGodzii5jBt%2BMSbVfzWUyMPpXLWX34934A

Re: log4j2 for java 1.6.x?

2015-05-26 Thread Emi Lu
intentionally has lagged behind and continued to support Java 1.6 well beyond the point when most users have converted. Got it. Thank you! On May 26, 2015, at 5:55 AM, Emi Lu em...@encs.concordia.ca wrote: Hello Ralph, We have several applications based on 1.6 and cannot be migrated to 1.7/1.8

Re: log4j2 for java 1.6.x?

2015-05-25 Thread Emi Lu
On 05/25/2015 11:44 AM, Saurabh Jain wrote: Yepp it does. I think 2.3 is the last version which supports 1.6 Upcoming versions will not support. Correct me id m wrong list. Got it. Won't try to use next new version then. Thank you! Hello List, Does log4j2 support for java version 1.6.x

log4j2 for java 1.6.x?

2015-05-25 Thread Emi Lu
Hello List, Does log4j2 support for java version 1.6.x please? Thanks a lot! - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org

Re: log4j2 for java 1.6.x?

2015-05-25 Thread Emi Lu
On 05/25/2015 01:40 PM, Andreas Opitz wrote: Hi for more details, see https://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201505.mbox/%3CCACZkXPwJRPVkcmYOQGodzii5jBt%2BMSbVfzWUyMPpXLWX34934A%40mail.gmail.com%3E . Apache Log4j 2.3 requires a minimum of Java 6 to build and run. This

Re: SizeBasedTriggeringPolicy for HTMLLayout ?

2015-05-22 Thread Emi Lu
much! On Fri, May 22, 2015 at 10:55 AM, Emi Lu em...@encs.concordia.ca wrote: On 05/22/2015 01:46 PM, Gary Gregory wrote: I do not see why this should not work. What happens when you try? The file cannot even be generated through tomcat 6.0.41. The log file is generated/updated only if I

SizeBasedTriggeringPolicy for HTMLLayout ?

2015-05-22 Thread Emi Lu
Hello, Is there a way to use RollingFile and SizeBasedTriggeringPolicy for HTMLLayout please? For example: appenders RollingFile name=debug_html fileName=log.html HTMLLayout charset=UTF-8 / Policies SizeBasedTriggeringPolicy size=1 KB / /Policies