Re: Hide *.jar

2015-06-29 Thread Ralph Goers
An actual example in the manual would be good. I’ve never actually tried this but I am sure we must have a unit test for it. Ralph > On Jun 29, 2015, at 4:09 PM, Gary Gregory wrote: > > Worth a FAQ or manual entry? > > Gary > > On Mon, Jun 29, 2015 at 9:33 AM, Ralph Goers

Re: Hide *.jar

2015-06-29 Thread Gary Gregory
Worth a FAQ or manual entry? Gary On Mon, Jun 29, 2015 at 9:33 AM, Ralph Goers wrote: > OK, so you only want to hide hibernate from the stack trace. Then modify > your pattern for the PatternLayout to include > %xEx{full,filters[org.hibernate]} > > Ralph > > > On Jun 29, 2015, at 9:19 AM, Emi

Re: Hide *.jar

2015-06-29 Thread Emi Lu
OK, so you only want to hide hibernate from the stack trace. Then modify your pattern for the PatternLayout to include %xEx{full,filters[org.hibernate]} It works and thank you very much! By the way, ran: %xEx{short} %rEx{short} It seems that xEx showing .jar, rEx not showing it, is this the

Re: Hide *.jar

2015-06-29 Thread Ralph Goers
OK, so you only want to hide hibernate from the stack trace. Then modify your pattern for the PatternLayout to include %xEx{full,filters[org.hibernate]} Ralph > On Jun 29, 2015, at 9:19 AM, Emi Lu wrote: > > Mailing list bounced my email. > > Forwarded Message > Subject:

Re: Hide *.jar

2015-06-29 Thread Ralph Goers
Can you post the full output of the log event? Ralph > On Jun 29, 2015, at 8:45 AM, Emi Lu wrote: > > >> 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

Re: Hide *.jar

2015-06-29 Thread Gary Gregory
Some possible alternatives: Are you sure you do not want to simply turn off logging from a specific logger. You could also not log the source of stack frame at all. This would apply to all stack traces if you do this in the pattern. Gary On Mon, Jun 29, 2015 at 8:45 AM, Emi Lu wrote: > > Thi

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 Ralph Goers
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 si

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 org.hibernate.exception.internal.StandardSQLExceptionConvert