|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-07 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebServerLogMBean
Aggregates the logging attributes for the WebServerMBean.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX."
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.LogFileMBean |
---|
DEFAULT_FILE_NAME, MAX_ROTATED_FILES, NONE, SIZE, TIME, TIME_FORMAT |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
String |
getELFFields()
Returns the list of fields specified for the extended
logging format for access.log. |
String |
getFileName()
The name of the log file. |
String |
getLogFileFormat()
The format of the HTTP log file. |
boolean |
isLoggingEnabled()
Indicates whether this server logs HTTP requests. |
boolean |
isLogTimeInGMT()
Specifies whether the time stamps for HTTP log messages are in Greenwich Mean Time (GMT) regardless of the local time zone that the host computer specifies. |
void |
setELFFields(String fields)
Sets the fields for the extended logging format for access.log. |
void |
setFileName(String fileName)
Sets the value of the fileName attribute. |
void |
setLogFileFormat(String format)
Sets the value of the logFileFormat attribute. |
void |
setLoggingEnabled(boolean enable)
Sets the value of the loggingEnabled attribute. |
void |
setLogTimeInGMT(boolean useGMT)
Sets the value of the logTimeInGMT attribute. |
Methods inherited from interface weblogic.management.configuration.LogFileMBean |
---|
getBufferSizeKB, getDateFormatPattern, getFileCount, getFileMinSize, getFileTimeSpan, getLogFileRotationDir, getRotateLogOnStartup, getRotationTime, getRotationType, isNumberOfFilesLimited, setBufferSizeKB, setDateFormatPattern, setFileCount, setFileMinSize, setFileTimeSpan, setFileTimeSpanFactor, setLogFileRotationDir, setNumberOfFilesLimited, setRotateLogOnStartup, setRotationTime, setRotationType |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Method Detail |
---|
String getFileName()
The name of the log file.
getFileName
in interface LogFileMBean
void setFileName(String fileName) throws InvalidAttributeValueException
Sets the value of the fileName attribute.
setFileName
in interface LogFileMBean
fileName
- The new fileName value
InvalidAttributeValueException
WebServerLogMBean.getFileName()
,
MachineMBean
void setLoggingEnabled(boolean enable)
Sets the value of the loggingEnabled attribute.
enable
- The new loggingEnabled valueWebServerLogMBean.isLoggingEnabled()
boolean isLoggingEnabled()
Indicates whether this server logs HTTP requests. (The remaining fields on this page are relevant only if you select this check box.)
Gets the loggingEnabled attribute of the WebServerMBean object.
String getELFFields()
Returns the list of fields specified for the extended
logging format for access.log.
void setELFFields(String fields) throws InvalidAttributeValueException, DistributedManagementException
Sets the fields for the extended logging format for access.log. The string passed in must be a space delimited list of fields. For example: "time cs-method cs-uri sc-status". Please check the documentation for supported fields.
fields
- (eg: "time cs-method cs-uri sc-status")
InvalidAttributeValueException
DistributedManagementException
WebServerLogMBean.getELFFields()
String getLogFileFormat()
The format of the HTTP log file. Both formats are defined by the W3C. With the extended log format, you use server directives in the log file to customize the information that the server records.
void setLogFileFormat(String format) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the logFileFormat attribute.
format
- The new logFileFormat value
InvalidAttributeValueException
DistributedManagementException
WebServerLogMBean.getLogFileFormat()
boolean isLogTimeInGMT()
Specifies whether the time stamps for HTTP log messages are in Greenwich Mean Time (GMT) regardless of the local time zone that the host computer specifies.
Use this method to comply with the W3C specification for Extended Format log files. The specification states that all time stamps for Extended Format log entries be in GMT.
This method applies only if you have specified the
extended
message format.
void setLogTimeInGMT(boolean useGMT)
Sets the value of the logTimeInGMT attribute.
useGMT
- The new logTimeInGMT valueWebServerLogMBean.isLogTimeInGMT()
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |