[ 
https://issues.apache.org/jira/browse/OAK-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647585#comment-13647585
 ] 

Michael Dürig edited comment on OAK-144 at 5/2/13 3:28 PM:
-----------------------------------------------------------

AFIU you should be able to add an appender filtering for the deprecation marker 
used to log those events. You can then specify in the log format to include the 
whole stack trace.

Here is how to do that:
{code}
    <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
      <filter class="ch.qos.logback.core.filter.EvaluatorFilter">
        <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator">
          <marker>deprecation</marker>
        </evaluator>
        <onMismatch>DENY</onMismatch>
      </filter>      
        <encoder>
          <pattern>%date{HH:mm:ss.SSS} %-5level %-40([%thread] %F:%L) %msg%n 
%caller</pattern>
        </encoder>
    </appender>
{code}
                
      was (Author: mduerig):
    AFIU you should be able to add an appender filtering for the deprecation 
marker used to log those events. You can then specify in the log format to 
include the whole stack trace.
                  
> Implement observation
> ---------------------
>
>                 Key: OAK-144
>                 URL: https://issues.apache.org/jira/browse/OAK-144
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: core, jcr
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to