StreamRedirect

Specifies settings for redirecting standard Java IO streams.



Attributes Summary
fileName : StringSpecify the name of the file to which the stream should be redirected.
rolloverType : RolloverTypeIndicate what type of rollover algorithm is in effect.
maxNumberOfBackupFiles : intNumber of archive files.
rolloverSize : intSpecify the size in Megabytes for size-based rollover.
baseHour : intSpecify the hours at which time-based rollover starts.
rolloverPeriod : intSpecify the time-based rollover period.
formatWrites : booleanSpecify whether writes should be formatted like Websphere log entry.
messageFormatKind : MessageFormatKindThe desired format for messages.
suppressWrites : booleanSpecify whether writes to this stream should be suppressed.
suppressStackTrace : booleanSpecify if stack traces in the messages should be replaced by the exception message only.

Attribute Details

fileName    -    Specify the name of the file to which the stream should be redirected.
     data type:  String
     default Value:   unspecified



rolloverType    -    Indicate what type of rollover algorithm is in effect.
     data type: RolloverType
     default Value:   SIZE
     Allowed Values:  NONE   SIZE   TIME   BOTH  



maxNumberOfBackupFiles    -    Number of archive files.
     data type:  int
     default Value:   unspecified



rolloverSize    -    Specify the size in Megabytes for size-based rollover.
     data type:  int
     default Value:   unspecified



baseHour    -    Specify the hours at which time-based rollover starts.
     data type:  int
     default Value:   unspecified



rolloverPeriod    -    Specify the time-based rollover period.
     data type:  int
     default Value:   unspecified



formatWrites    -    Specify whether writes should be formatted like Websphere log entry.
     data type: boolean
     default Value:   unspecified
     Allowed Values:  true   false  



messageFormatKind    -    The desired format for messages. Valid values include basic and advanced. Default is basic.
     data type: MessageFormatKind
     default Value:   BASIC
     Allowed Values:  BASIC   ADVANCED  



suppressWrites    -    Specify whether writes to this stream should be suppressed.
     data type: boolean
     default Value:   unspecified
     Allowed Values:  true   false  



suppressStackTrace    -    Specify if stack traces in the messages should be replaced by the exception message only. Default is false. (no suppression)
     data type: boolean
     default Value:   unspecified
     Allowed Values:  true   false  


Copyright IBM Corp. 1997-2004