1 Reply Latest reply on Mar 1, 2018 2:52 PM by jamezp

    Logging observer

    sandrogiacom

      Hello,

      How I can monitoring/observer my log handler? I need to know when my log is rotation to process in another java class. Ex:

      mylog.log is rotation for mylog.2018-02-20-11-40

      I need to catch  mylog.2018-02-20-11-40 and process after created

        • 1. Re: Logging observer
          jamezp

          You'd have to either use something at the OS level, write your own custom handler or use an API to watch for file changes. There is nothing that handles this by default in WildFly.

           

          --

          James R. Perkins