- Apr 30, 2013
-
-
Carl Harris authored
These test classes were really testing SocketAppenderBase not SocketAppender, per se. The new implementation of SocketAppenderBase is significantly different and will require a new unit test suite.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
Alternative approach for LOGBACK-849
-
Carl Harris authored
-
Ceki Gulcu authored
-
Carl Harris authored
Previously, the executor service used here was not consistent with a recent change to ContextBase (to allow more than one concurrent asynchronous task). This commit also ensures that the executor service is shut down when the valve is stopped.
-
Carl Harris authored
-
Carl Harris authored
Since ContextBase has never before implemented LifeCycle, there are lots of existing uses (in tests) that would need to be modified if calling the LifeCycle methods is made a strict requirement. By using a lazy initialization of executor service, we can allow existing uses to ignore the lifecycle methods, and focus our attention on those few cases where it calling the stop method really matters.
-
Carl Harris authored
This will allow logback-core and logback-access to both use the same executor configuration and shutdown logic.
-
Carl Harris authored
-
Ceki Gulcu authored
LOGBACK-300: Fixed OSGi-Manifest
-
Christian Brensing authored
Imports of Jetty and Tomcat packages are optional as you normally can not satisify both (typically there is either Tomcat or Jetty present as OSGi web container).
-
- Apr 29, 2013
-
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
- Apr 28, 2013
-
-
Ceki Gulcu authored
-
Carl Harris authored
The JSSE defines several system properties that are used to create key store and trust store objects for the system default SSL context. This commit allows these properties to be referenced as defaults when a component's SSL configuration does not provide either the key store or trust store configuration.
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
- Apr 27, 2013
-
-
Carl Harris authored
For consistency with logback-core.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
For consistency with SocketAppender.
-
Carl Harris authored
-
Carl Harris authored
Convenience constructors that are used to set mutable fields that have proper accessors add little value, and they make it more complicated to subclass. Best practice is to use constructor arguments only to initialize fields that are immutable or for which an accessor method cannot be safely provided within the design constraints of the class. The only use of these constructors by logback modules is in the SocketMin class. However, because these constructors were exposed as API (public modifier) there is a chance that other code is using them, therefore marking them as deprecated rather than removing them.
-
Carl Harris authored
The LoggingEventPreSerializationTransformer is completely stateless and therefore inherently thread-safe. Therefore, there is no reason to create a distinct instance for each appender. Moreover, once created it never needs to be modified, therefore it should be properly marked as immutable via the final keyword.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
-
- Apr 26, 2013
-
-
Ceki Gulcu authored
-
Ceki Gulcu authored
Introducing AbstractDiscriminator base class
-
Ceki Gulcu authored
add ResourceExistsPropertyDefiner
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-