public class CrowdLoggingConfigurationListener extends Object implements org.springframework.context.ApplicationListener
This listener is also responsible for passing any required configuration onto the CrowdHomeLogAppender since it will have been created by the log4j framework which limits how it could be configured.
Constructor and Description |
---|
CrowdLoggingConfigurationListener() |
Modifier and Type | Method and Description |
---|---|
CrowdLoggingConfiguration |
getCrowdLoggingConfiguration() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent) |
void |
setCrowdHomeLogAppenderSwitcher(CrowdHomeLogAppenderSwitcher crowdHomeLogAppenderSwitcher) |
void |
setCrowdLoggingConfiguration(CrowdLoggingConfiguration crowdLoggingConfiguration) |
public CrowdLoggingConfiguration getCrowdLoggingConfiguration()
public void setCrowdLoggingConfiguration(CrowdLoggingConfiguration crowdLoggingConfiguration)
public void setCrowdHomeLogAppenderSwitcher(CrowdHomeLogAppenderSwitcher crowdHomeLogAppenderSwitcher)
public void onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
Copyright © 2021 Atlassian. All rights reserved.