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

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

    XMLWordPrintable

Details

    • 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.

    Attachments

      Issue Links

        Activity

          People

            snelluli@redhat.com Sreelatha Nelluli
            rhn-support-sudnair Sudhish Nair
            Nikoleta Ziakova Nikoleta Ziakova (Inactive)
            Nikoleta Ziakova Nikoleta Ziakova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: