Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-553

Error with logging fraction when using PeriodicSizeRotatingFileHandler

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.Final
    • Fix Version/s: 2016.8
    • Component/s: config-api
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1) Add Logging fraction to swarm project
      2) Create a new logging fraction inside Main class, like my gist https://gist.github.com/rafaelszp/8bdfc147c676f35106eb4213670b568b
      3) Run, and get the error

      Show
      1) Add Logging fraction to swarm project 2) Create a new logging fraction inside Main class, like my gist https://gist.github.com/rafaelszp/8bdfc147c676f35106eb4213670b568b 3) Run, and get the error

      Description

      When using LoggingFraction and PeriodicSizeRotatingFileHandler it gives me the following error:

      16:03:13,755 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 9) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "logging"),
          ("periodic-size-rotating-file-handler" => "cliente-handler")
      ]) - failure description: "WFLYCTL0155: file may not be null"
      

      Here is my whole code:
      https://gist.github.com/rafaelszp/8bdfc147c676f35106eb4213670b568b

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                heiko.braun Heiko Braun
                Reporter:
                ouier Rafael Pereira
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: