|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebServerLogMBean
Aggregates the logging attributes for the WebServerMBean.
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 | |
---|---|
abstract String |
getELFFields() Returns the list of fields specified for the extended logging format for access.log. |
abstract String |
getFileName() The name of the log file. |
abstract String |
getLogFileFormat() The format of the HTTP log file. |
abstract boolean |
isLoggingEnabled() Indicates whether this server logs HTTP requests. |
abstract 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. |
abstract void |
setELFFields(String fields) Sets the fields for the extended logging format for access.log. |
abstract void |
setFileName(String fileName) Sets the value of the fileName attribute. |
abstract void |
setLogFileFormat(String format) Sets the value of the logFileFormat attribute. |
abstract void |
setLoggingEnabled(boolean enable) Sets the value of the loggingEnabled attribute. |
abstract 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, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
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 valueInvalidAttributeValueException
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 valueInvalidAttributeValueException
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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |