| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface DataSourceLogFileMBean
Defines the logging configuration for a DataSource.
| 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 | getFileName()The name of the file that stores datasource profile records. | 
|  void | setFileName(String fileName)Sets the value of the fileName 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 file that stores datasource profile records.
 Usually it is a computed value based on the name of the parent 
 of this MBean. For example, for a datasource profile log, it is
 serverName.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.
getFileName in interface LogFileMBean
void setFileName(String fileName)
                 throws InvalidAttributeValueException
Sets the value of the fileName attribute.
setFileName in interface LogFileMBeanfileName - The new fileName value
InvalidAttributeValueExceptionDataSourceLogFileMBean.getFileName(), 
MachineMBean| 
 | Copyright 1996, 2014, 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.1.3) Part Number E41849-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||