StreamRedirect


This type is a class for model objects.

Specifies settings for redirecting standard Java IO streams.

Package: process

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *

Reference attributes having this type:
  Server.errorStreamRedirect
  Server.outputStreamRedirect



Attributes Summary
fileName : EString Specify the name of the file to which the stream should be redirected.
rolloverType : RolloverType Indicate what type of rollover algorithm is in effect.
maxNumberOfBackupFiles : EInt Number of archive files.
rolloverSize : EInt Specify the size in Megabytes for size-based rollover.
baseHour : EInt Specify the hours at which time-based rollover starts.
rolloverPeriod : EInt Specify the time-based rollover period.
formatWrites : EBoolean Specify whether writes should be formatted like Websphere log entry.
messageFormatKind : MessageFormatKind The desired format for messages. Valid values include basic and advanced. Default is basic.
suppressWrites : EBoolean Specify whether writes to this stream should be suppressed.
suppressStackTrace : EBoolean Specify if stack traces in the messages should be replaced by the exception message only. Default is false. (no suppression)



Attribute Details

fileName  -  Specify the name of the file to which the stream should be redirected.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

rolloverType  -  Indicate what type of rollover algorithm is in effect.
    Data Type: RolloverType
    Default value:  SIZE
    Allowed values:
        0 - NONE
        1 - SIZE
        2 - TIME
        3 - BOTH
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

maxNumberOfBackupFiles  -  Number of archive files.
    Data Type: EInt
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

rolloverSize  -  Specify the size in Megabytes for size-based rollover.
    Data Type: EInt
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

baseHour  -  Specify the hours at which time-based rollover starts.
    Data Type: EInt
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

rolloverPeriod  -  Specify the time-based rollover period.
    Data Type: EInt
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

formatWrites  -  Specify whether writes should be formatted like Websphere log entry.
    Data Type: EBoolean
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

messageFormatKind  -  The desired format for messages. Valid values include basic and advanced. Default is basic.
    Data Type: MessageFormatKind
    Default value:  BASIC
    Allowed values:
        0 - BASIC
        1 - ADVANCED
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

suppressWrites  -  Specify whether writes to this stream should be suppressed.
    Data Type: EBoolean
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

suppressStackTrace  -  Specify if stack traces in the messages should be replaced by the exception message only. Default is false. (no suppression)
    Data Type: EBoolean
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006