StreamRedirect

Specifies settings for redirecting standard Java IO streams.



 

Attributes Summary

fileName Specify the name of the file to which the stream should be redirected.
rolloverType Indicate what type of rollover algorithm is in effect.
maxNumberOfBackupFiles Number of archive files.
rolloverSize Specify the size in Megabytes for size-based rollover.
baseHour Specify the hours at which time-based rollover starts.
rolloverPeriod Specify the time-based rollover period.
formatWrites Specify whether writes should be formatted like Websphere log entry.
messageFormatKind The desired format for messages.
suppressWrites Specify whether writes to this stream should be suppressed.
suppressStackTrace Specify 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:   Integer
Default value:   unspecified



rolloverSize

Specify the size in Megabytes for size-based rollover.

Data type:   Integer
Default value:   unspecified



baseHour

Specify the hours at which time-based rollover starts.

Data type:   Integer
Default value:   unspecified



rolloverPeriod

Specify the time-based rollover period.

Data type:   Integer
Default value:   unspecified



formatWrites

Specify whether writes should be formatted like Websphere log entry.

Data type:   Boolean
Default value:   unspecified



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



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