<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Well, scratch that. I just noticed that
there have been a couple of replies to my JIRA bug report
(<a class="moz-txt-link-freetext" href="http://jira.qos.ch/browse/LBCLASSIC-327">http://jira.qos.ch/browse/LBCLASSIC-327</a>)<br>
<br>
It looks like there may be a solution there for us both.<br>
<div class="moz-signature">
<div id="signature-separator" style="line-height:5px; color:
#888;">-- </div>
<div id="sig" style="margin: 6px 0; padding: 8px; border-top:
1px #000 dashed; font: 12px/15px Tahoma, Geneva, sans-serif;
color:#be0f34;"> <img src="http://goo.gl/2ZYiQ" alt="me"
moz-do-not-send="true" style="float:left; padding: 2px 6px 0
0;" border="0" height="43" width="43"> <span style="color:
black;">Don Faulkner, CISSP</span> | <span><a
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://its.uark.edu/">IT
Security</a> at the <a
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://www.uark.edu/">University
of Arkansas</a></span> <br>
<span style="font-family: Monaco, Lucida Sans Typewriter,
monospace; color: black;">contact>> </span><span
style=""><a onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="mailto:donf@uark.edu">donf@uark.edu</a>
| +1 (479) 575-2905</span> <br>
<span style="font-family: Monaco, Lucida Sans Typewriter,
monospace; color: black;">connect>> </span><span
style=""><a onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;"
href="http://www.facebook.com/uarkITS">uarkITS on Facebook</a>
| <a onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://twitter.com/uaits">@uaits</a>
| <a onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://twitter.com/dfaulkner">@dfaulkner</a>
</span>
</div>
</div>
On 05/29/2012 05:05 PM, Don Faulkner wrote:<br>
</div>
<blockquote cite="mid:4FC54822.2010005@uark.edu" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div class="moz-cite-prefix">Hi Jiri,<br>
<br>
I have a similar difficulty. I'm trying to disable the stack
trace output in my SyslogAppender, but the documented methods
don't seem to work. I suspect our problems are related.<br>
I'm sure we're not alone in this. Search back in the archives,
and you'll find at least one other person with a related
problem.<br>
If you get your problem fixed, please post back to the list. I'm
still struggling.<br>
<br>
<div class="moz-signature">
<div id="signature-separator" style="line-height:5px; color:
#888;">-- </div>
<div id="sig" style="margin: 6px 0; padding: 8px; border-top:
1px #000 dashed; font: 12px/15px Tahoma, Geneva, sans-serif;
color:#be0f34;"> <img src="http://goo.gl/2ZYiQ" alt="me"
moz-do-not-send="true" style="float:left; padding: 2px 6px
0 0;" border="0" height="43" width="43"> <span
style="color: black;">Don Faulkner, CISSP</span> | <span><a
moz-do-not-send="true"
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://its.uark.edu/">IT
Security</a> at the <a moz-do-not-send="true"
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://www.uark.edu/">University
of Arkansas</a></span> <br>
<span style="font-family: Monaco, Lucida Sans Typewriter,
monospace; color: black;">contact>> </span><span
style=""><a moz-do-not-send="true"
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="mailto:donf@uark.edu">donf@uark.edu</a>
| +1 (479) 575-2905</span> <br>
<span style="font-family: Monaco, Lucida Sans Typewriter,
monospace; color: black;">connect>> </span><span
style=""><a moz-do-not-send="true"
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;"
href="http://www.facebook.com/uarkITS">uarkITS on
Facebook</a> | <a moz-do-not-send="true"
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;" href="http://twitter.com/uaits">@uaits</a>
| <a moz-do-not-send="true"
onmouseover="this.style.textDecoration = 'none'"
onmouseout="this.style.textDecoration = 'underline'"
style="color:#be0f34;"
href="http://twitter.com/dfaulkner">@dfaulkner</a> </span>
</div>
</div>
On 05/24/2012 07:27 AM, Jiri Sitina wrote:<br>
</div>
<blockquote cite="mid:33901588.post@talk.nabble.com" type="cite">
<pre wrap="">Hi,
I was wondering how to avoid #011 and #012s in syslog output but still with
no noticeable result.
Don't you have any ideas what might make syslog accept tab and new line as
it does with log4j?
Thanks in advance,
Jiri Sitina
Jiri Sitina wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
we have recently switched from Log4J to Logback. Logging seems to work
well except stack traces in SyslogAppender. They are prefixed just like
remaining log messages.
Is there any way how to disable this prefix and ensure they will be
printed in the same manner like with Log4J SyslogAppender?
Current behavior:
Apr 02 12:31:08 host.name 2012-04-02T12:31:08.418+0200 ajp-bio-8009-exec-7
com.gooddata.exception.servlet.HttpExceptionTranslator ERROR: Processing
client_request=/gdcwebapp/gdc/projects/FoodMartDemo/groups/everyone
status=FAILED errorCode=gdc.usergroups.default_group_modification
errorDescription="Attempt to modify default group (everyone)"
exceptionId=abc37cf0-9c56-4e68-a4a7-2111ca823fd4 component=webapp
request_id=cAWvICOaKVFF1VvI userId=1 projectId=FoodMartDemo nodeId=nodeOne
nodeId=nodeOne, requestId=cAWvICOaKVFF1VvI, userId=1,
projectId=FoodMartDemo
Apr 02 12:31:08 host.name #011at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Apr 02 12:31:08 host.name #011at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
Apr 02 12:31:08 host.name #011at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Apr 02 12:31:08 host.name #011at
java.lang.reflect.Method.invoke(Method.java:601)
Apr 02 12:31:08 host.name #011at
org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
Apr 02 12:31:08 host.name #011at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
Apr 02 12:31:08 host.name #011at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
Apr 02 12:31:08 host.name #011at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
Apr 02 12:31:08 host.name #011at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
Apr 02 12:31:08 host.name #011at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
Apr 02 12:31:08 host.name #011at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
Desired behavior:
Apr 02 12:31:08 host.name 2012-04-02T12:31:08.418+0200 ajp-bio-8009-exec-7
com.gooddata.exception.servlet.HttpExceptionTranslator ERROR: Processing
client_request=/gdcwebapp/gdc/projects/FoodMartDemo/groups/everyone
status=FAILED errorCode=gdc.usergroups.default_group_modification
errorDescription="Attempt to modify default group (everyone)"
exceptionId=abc37cf0-9c56-4e68-a4a7-2111ca823fd4 component=webapp
request_id=cAWvICOaKVFF1VvI userId=1 projectId=FoodMartDemo nodeId=nodeOne
nodeId=nodeOne, requestId=cAWvICOaKVFF1VvI, userId=1,
projectId=FoodMartDemo
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:601)
at
org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
Current logback.xml for SyslogAppender:
<appender name="SYSLOG"
class="ch.qos.logback.classic.net.SyslogAppender">
<facility>local2</facility>
<syslogHost>localhost</syslogHost>
<suffixPattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} %t %c %p: %m
component=webapp request_id=%X{requestId} userId=%X{userId}
projectId=%X{projectId} nodeId=%X{nodeId} %X%n</suffixPattern>
</appender>
Thanks in advance for any advice.
Best regards
Jiri Sitina
</pre>
</blockquote>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</body>
</html>