java.lang.Object |
↳ |
com.atlassian.confluence.logging.ConfluenceLoggingConfigurationListener |
Class Overview
If the ConfluenceHomeLogAppender has been configured, then this listener is responsible for configuring it to
redirect logging to the confluence home directory once the bootstrap context is initialised. If the
ConfluenceHomeLogAppender is not being used then this listener does nothing.
This listener is also responsible for passing any required configuration onto the ConfluenceHomeLogAppender
since it will have been created by the log4j framework which limits how it could be configured.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.springframework.context.ApplicationListener
void
|
onApplicationEvent(ApplicationEvent arg0)
|
|
Public Constructors
public
ConfluenceLoggingConfigurationListener
()
Public Methods
public
String
getAppenderName
()
public
String
getLogFileName
()
public
void
onApplicationEvent
(ApplicationEvent applicationEvent)
public
void
setAppenderName
(String name)
Parameters
name
| the name of the ConfluenceLoggingConfigurationListener in the log4j configuration.
|
public
void
setLogFileName
(String file)
Configuration to be passed to the ConfluenceHomeLogAppender when it switches to file logging.
Parameters
file
| just the log file name (not the full path)
|