Administration Console Online Help
|
Server --> Logging --> General
Tasks Additional Documentation Attributes
Overview
The Server—>Logging—>General tab configures the server message log for a WebLogic Server instance. Use it to specify the name of the log file and the types of messages that the server sends to standard out in addition to the log file.
Each server keeps its own message log. In addition, by default, a server forwards all messages of serverity ERROR and higher to the domain log. To change this default, create a domain log filter.
The server message log does not contain HTTP requests, JDBC messages, or JTA transaction messages. Instead, you can configure separate log files for those requests and messages.
Debug Messages
If you create applications to run on WebLogic Server, you can configure your applications to generate messages of severity DEBUG. These messages are never forwarded to the domain log and are intended to contain detailed information about the operation of an application or the server.
Tasks
Viewing Server Logs
Specifying General Log File Settings
Specifying Log File Rotation
Specifying HTTP Log File Settings for a Server
Specifying the JDBC Log File
Specifying the Transaction Log File Location (Prefix)
Configuring Debug Information in the Server Log File
Specifying Domain Logging
Creating a New Domain Log Filter
Viewing the Domain Log
Additional Documentation
(Requires an Internet connection.)
Message Severity in the WebLogic Server Administration Guide.
Writing Debug Messages in the Using WebLogic Logging Services guide.
Using Log Messages to Manage WebLogic Servers in the WebLogic Server Administration Guide.
Attributes
Attribute Label
|
Description
|
Value Constraints
|
File Name
|
The name of the file that stores current log messages. If the pathname is not absolute, the path is assumed to be relative to the root directory of the machine on which the server is running.
If the name does not include a path element, then pathname will be computed as follows:
If neither file name nor pathname is specified, then the name is computed as follows:
To include a time or date stamp in the file name when the log file is rotated, add java.text.SimpleDateFormat variables. Surround each variable with percentage (%) characters.
For example, myserver_%yyyy%_%MM%_%dd%_%hh%_%mm%.log
If you do not include a time and date stamp, the rotated log files are numbered in order of creation filenamennnnn, where filename is the name configured for the log file.
MBean: weblogic.management. configuration.LogMBean
Attribute: FileName
|
Default: "weblogic.log"
Configurable: yes
Readable: yes
Writable: yes
|
Log to Stdout
|
Enables the server to send messages to standard out in addition to the log file. Use StdoutDebugEnabled and StdoutSeverityLevelto determine the type of messages that the server sends to standard out.
MBean: weblogic.management. configuration.ServerMBean
Attribute: StdoutEnabled
|
Default: true
Dynamic: yes
Readable: yes
Writable: yes
|
Debug to Stdout
|
Determines whether the server sends messages of the DEBUG severity to standard out in addition to the log file. You must enable Log to Standard Outfor this property to be relevant.
MBean: weblogic.management. configuration.ServerMBean
Attribute: StdoutDebugEnabled
|
Default: false
Dynamic: yes
Readable: yes
Writable: yes
|
Stdout severity threshold
|
The minimum severity of a message that the server sends to standard out. You must enable Log to Standard Out for this value to be relevant.
The ascending order of severities is as follows:
MBean: weblogic.management. configuration.ServerMBean
Attribute: StdoutSeverityLevel
|
Default: 16
Valid values:
Configurable: yes
Dynamic: yes
Readable: yes
Writable: yes
|