0 Replies Latest reply on Jun 10, 2010 10:51 AM by Jesper Tejlgaard

    JBoss AS6 logging filters

    Jesper Tejlgaard Newbie

      Hi there

       

      Is there any documentation to how logging filters are applied in JBoss AS6 (M3)?

      I need to add a custom filter, which only allows log information from a specific user. I am planing to use MDC for this and then write my own custom filter. I just don't know how to configure nor write the filter.

       

      Can I write a custom Log4j filter and apply it to the file output configuration (<periodic-rotating-file-handler/>)?

       

      Best regards,

      Jesper