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

[7.2] Console Log Handler Attributes list (Table A.31), target attributes description doesn't contain allowed value "console" detail

XMLWordPrintable

    • Documentation (Ref Guide, User Guide, etc.)
    • Hide

      Description for target type console is not mentioned in configuration guide reference material.

      In EAP 7.1 configuration guide, under reference material table A.31 (Table A.31. Console Log Handler Attributes) for target attribute below description is given.

      Attribute Description
      target The system output stream where the output of the log handler goes. This can be System.err or System.out for the system error stream or standard out stream respectively.

      This contains details of 2 allowed values System.out and System.err but nothing has been mentioned about 3rd allowed value "console".

      Eap 7.1 Configuration Guide

      Target attribute of console handler in the logging subsystem accepts 3 values. Details about 1st 2 values have been mentioned in the configuration guide but the 3rd value is missed.

      System.out -: The system output stream where the output of the log handler goes. This would be the standard out stream.
      System.err -: This would go to the system error stream.
      console -: This would go to PrinterWriter (java.io.PrintWriter). According to JavaDocs, the PrintWriter class should be used in situations that require writing characters rather than bytes.

      Show
      Description for target type console is not mentioned in configuration guide reference material. In EAP 7.1 configuration guide, under reference material table A.31 (Table A.31. Console Log Handler Attributes) for target attribute below description is given. Attribute Description target The system output stream where the output of the log handler goes. This can be System.err or System.out for the system error stream or standard out stream respectively. This contains details of 2 allowed values System.out and System.err but nothing has been mentioned about 3rd allowed value "console". Eap 7.1 Configuration Guide Target attribute of console handler in the logging subsystem accepts 3 values. Details about 1st 2 values have been mentioned in the configuration guide but the 3rd value is missed. System.out -: The system output stream where the output of the log handler goes. This would be the standard out stream. System.err -: This would go to the system error stream. console -: This would go to PrinterWriter (java.io.PrintWriter). According to JavaDocs, the PrintWriter class should be used in situations that require writing characters rather than bytes.

            snelluli@redhat.com Sreelatha Nelluli
            snelluli@redhat.com Sreelatha Nelluli
            Nikoleta Ziakova Nikoleta Ziakova (Inactive)
            Nikoleta Ziakova Nikoleta Ziakova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: