View This JMS Message Log File

get

/management/weblogic/{version}/domainConfig/resourceGroups/{name}/JMSServers/{name}/JMSMessageLogFile

View this JMS message log file.

Request

Path Parameters
Query Parameters
  • The 'excludeFields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the 'fields' query parameter is specified). Note: 'fields' must not be specified if 'excludeFields' is specified.
  • The 'fields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the 'excludeFields' query parameter is specified). Note: 'excludeFields' must not be specified if 'fields' is specified.
Security
Back to Top

Response

Supported Media Types

200 Response

Returns this JMS message log file.

Body ()
Root Schema : JMS Message Log File
Type: object
Show Source
  • Default Value: 8

    Gets the underlying log buffer size in kilobytes

  • The date format pattern used for rendering dates in the log. The DateFormatPattern string conforms to the specification of the java.text.SimpleDateFormat class.

    Constraints

    • legal null
  • Read Only: true
    Default Value: false

    Return whether the MBean was created dynamically or is persisted to config.xml

  • Minimum Value: 1
    Maximum Value: 99999
    Default Value: 7

    The maximum number of log files that the server creates when it rotates the log. This number does not include the file that the server uses to store current messages. (Requires that you enable Number of Files Limited.)

    Constraints

    • production mode default : 100
  • Minimum Value: 1
    Maximum Value: 2097150
    Default Value: 500

    The size (1 - 2097150 kilobytes) that triggers the server to move log messages to a separate file. The default is 500 kilobytes. After the log file reaches the specified minimum size, the next time the server checks the file size, it will rename the current log file as SERVER_NAME.lognnnnn and create a new one to store subsequent messages. (Requires that you specify a file rotation type of Size.)

    Constraints

    • production mode default : 5000
  • The name of the file that stores current JMS server log messages. Usually it is a computed value based on the name of the parent of this MBean. For example, for a JMS server log, it is jmsserverName.log

    However, if the name of the parent cannot be obtained, the file name is weblogic.log. If you specify a relative pathname, it is interpreted as relative to the server's root directory.

    To include a time and date stamp in the file name when the log file is rotated, add java.text.SimpleDateFormat variables to the file name. Surround each variable with percentage () characters.

    For example, if the file name is defined to be myjmsserver_%yyyy%_%MM%_%dd%_%hh%_%mm%.log, the log file will be named myserver_yyyy_mm_dd_hh_mm.log

    When the log file is rotated, the rotated file name contains the date stamp. For example, if the log file is rotated on 2 April, 2005 at 10:05 AM, the log file that contains the old messages will be named myserver_2005_04_02_10_05.log

    If you do not include a time and date stamp, the rotated log files are numbered in order of creation. For example, myjmsserver.log00007

  • Minimum Value: 1
    Default Value: 24

    The interval (in hours) at which the server saves old log messages to another file. (Requires that you specify a file rotation type of TIME.)

  • Read Only: true

    Return the unique id of this MBean instance

  • The directory where the rotated log files will be stored. By default the rotated files are stored in the same directory where the log file is stored.

  • Read Only: true

    The user-specified name of this MBean instance.

    This name is included as one of the key properties in the MBean's javax.management.ObjectName

    Name=user-specified-name

    Constraints

    • legal null
  • Optional information that you can include to describe this configuration.

    WebLogic Server saves this note in the domain's configuration file (config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity <. Carriage returns/line feeds are preserved.

    Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.

  • Default Value: true

    Indicates whether to limit the number of log files that this server instance creates to store old messages. (Requires that you specify a file rotation type of SIZE or TIME.)

    After the server reaches this limit, it deletes the oldest log file and creates a new log file with the latest suffix.

    If you do not enable this option, the server creates new files indefinitely and you must clean up these files as you require.

    Constraints

    • production mode default : true
  • Default Value: true

    Specifies whether a server rotates its log file during its startup cycle. The default value in production mode is false.

    Constraints

    • production mode default : false
  • Default Value: 00:00

    Determines the start time (hour and minute) for a time-based rotation sequence.

    At the time that this value specifies, the server renames the current log file. Thereafter, the server renames the log file at an interval that you specify in File Time Span.

    Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.

    Use the following format: H:mm, where

    • is Hour in day (0-23)

    • mm is the minute in hour

  • Default Value: bySize
    Allowed Values: [ "bySize", "byTime", "none", "bySizeOrTime" ]

    Criteria for moving old log messages to a separate file.

    • NONE Messages accumulate in a single file. You must erase the contents of the file when the size is too large. Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.

    • SIZE When the log file reaches the size that you specify in FileMinSize, the server renames the file as SERVER_NAME.lognnnnn

    • TIME At each time interval that you specify in TimeSpan, the server renames the file as SERVER_NAME.lognnnnn

    After the server renames a file, subsequent messages accumulate in a new file with the name that you specified as the log file name.

  • Items
    Title: Items

    Return all tags on this Configuration MBean

  • Read Only: true

    Returns the type of the MBean.

    Constraints

    • unharvestable
Nested Schema : Items
Type: array
Title: Items

Return all tags on this Configuration MBean

Show Source
Back to Top