1d369c519d70fac23747f74e13ccd584c51f2866 8802 |
|
25-Apr-2013 |
JnRouvignac |
OPENDJ-879 (CR-1603) Add HTTP access log
Consolidated common code for the *Logger classes prior to implementing the HTTP access log.
AbstractLogger.java: ADDED
Pulled up from the *Logger classes.
AccessLogger.java, ErrorLogger.java, DebugLogger.java:
Now inherit from AbstractLogger.
Removed code pulled up into AbstractLogger: initializeErrorLogger(), isConfigurationAddAcceptable(), applyConfigurationAdd(), applyConfigurationChange(), isConfigurationDeleteAcceptable(), applyConfigurationDelete(), isJavaClassAcceptable(), getErrorPublisher().
Added the loggerStorage static variable.
Added a ctor + implemented getJavaClassPropertyDefinition() and getStorage().
LoggerConfigManager.java:
Replaced the calls to the various initialize*Logger() methods with calling initializeLogger().
Extracted method getLoggerInstance() and used it in all the other methods.
LogPublisherConfiguration.xml:
Pulled up the declaration of "java-class" property here from sub configurations.
AccessLogPublisherConfiguration.xml, DebugLogPublisherConfiguration.xml, ErrorLogPublisherConfiguration.xml, LogPublisherConfiguration.xml:
Replaced the declaration of "java-class" property by a property-override.
StaticUtils.java:
Added close(Collection<Closeable>) |
64aae404dc4f3954c28e02993024eb22f456050d 2075 |
|
11-Jun-2007 |
matthew_swift |
Add a CLI profile for defining CLI related annotations to managed object and property definitions. The CLI profile defines two annotations at the moment:
* the operand name which should be used in sub-command usage help to identify the names of managed objects being added, removed, modified, etc
* the list of properties which should be displayed by default in list-xxx sub-commands. For example, when listing connection handlers we can display a summary table that lists the "enabled", "listen-port", and "use-ssl" properties by default
Both of these annotations apply only to relation definitions. Existing relations have been updated to include these CLI annotations, although their content is subject to change if we decide that better operand names/default properties exist.
These annotations will be used in the forthcoming dsconfig CLI. |