com.atlassian.jira.mail.MailLoggingManager |
Known Indirect Subclasses |
Central place for manipulating logging/debug state for mail servers.
Part of JIRA API because mail handlers (e.g. MailFetcherService
and
its descendants) may need to access JIRA mail logging configuration in order to behave well.
Apache Log4J (1.2+) is used as the logging mechanism and its Loggers are directly exposed via API
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Normally you don't need to use this method, unless you explicitely creates instances of MailServer classes,
then it's advisable to configure their logging level by calling this method.
| |||||||||||
Clients willing to log to incoming mail log (by default written to a separate log file)
can use this method to obtain their more specific logger, which will inherit
the appenders from the main incoming mail logger, thus information sent there
will be logged also in the incoming mail log file.
| |||||||||||
Clients willing to log to incoming mail log (by default written to a separate log file)
can use this logger.
| |||||||||||
Retrieves currently configured logging level for incoming mail
| |||||||||||
Clients willing to log to outgoing mail log (by default written to a separate log file)
can use this logger.
| |||||||||||
Retrieves currently configured logging level for outgoing mail
| |||||||||||
Sets new logging level for incoming mail
| |||||||||||
Sets new logging level for outgoing mail
|
Normally you don't need to use this method, unless you explicitely creates instances of MailServer classes, then it's advisable to configure their logging level by calling this method.
mailServer | configures logging for given server. |
---|
Clients willing to log to incoming mail log (by default written to a separate log file) can use this method to obtain their more specific logger, which will inherit the appenders from the main incoming mail logger, thus information sent there will be logged also in the incoming mail log file.
subname | additional name for this logger. It will be concatenated with the main incoming mail logger using "." (dot). |
---|
Clients willing to log to incoming mail log (by default written to a separate log file) can use this logger.
Retrieves currently configured logging level for incoming mail
Clients willing to log to outgoing mail log (by default written to a separate log file) can use this logger.
Retrieves currently configured logging level for outgoing mail
Sets new logging level for incoming mail
loggingLevel | new logging level |
---|
Sets new logging level for outgoing mail
loggingLevel | new logging level |
---|