Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5412

standalone-full-ha profile has enabled logging to console by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.1.0.DR1
    • Logging
    • None

      standalone-full-ha profile has enabled logging to console by default. It is regression of behaviour against EAP 7.0.0.GA. This change can break customer's automation.

      This is necessary change of standalone-full-ha.xml:

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      --- a/configuration/standalone-full-ha.xml
      +++ b/configuration/standalone-full-ha.xml
      @@ -91,12 +91,6 @@
           </management>
           <profile>
               <subsystem xmlns="urn:jboss:domain:logging:3.0">
      -            <console-handler name="CONSOLE">
      -                <level name="INFO"/>
      -                <formatter>
      -                    <named-formatter name="COLOR-PATTERN"/>
      -                </formatter>
      -            </console-handler>
                   <periodic-rotating-file-handler name="FILE" autoflush="true">
                       <formatter>
                           <named-formatter name="PATTERN"/>
      @@ -117,7 +111,6 @@
                   <root-logger>
                       <level name="INFO"/>
                       <handlers>
      -                    <handler name="CONSOLE"/>
                           <handler name="FILE"/>
                       </handlers>
                   </root-logger>
      

      Similar for domain mode.

            jperkins-rhn James Perkins
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: