com.atlassian.jira.web.action.admin
Class ViewLogging

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.admin.ViewLogging
All Implemented Interfaces:
ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
ConfigureLogging

public class ViewLogging
extends JiraWebActionSupport

The view action for the JIRA Profiling and Logging Admin section

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewLogging(com.atlassian.mail.server.MailServerManager mailServerManager, MailLoggingManager mailLoggingManager)
           
 
Method Summary
 String doDisableHttpAccessLog()
           
 String doDisableHttpAccessLogIncludeImages()
           
 String doDisableHttpDumpLog()
           
 String doDisableIncomingMailDebugging()
           
 String doDisableIncomingMailLogging()
           
 String doDisableOutgoingMailDebugging()
           
 String doDisableOutgoingMailLogging()
           
 String doDisableProfiling()
           
 String doDisableSoapAccessLog()
           
 String doDisableSoapDumpLog()
           
 String doDisableSqlDumpLog()
           
 String doDisableSqlLog()
           
 String doEnableHttpAccessLog()
           
 String doEnableHttpAccessLogIncludeImages()
           
 String doEnableHttpDumpLog()
           
 String doEnableIncomingMailDebugging()
           
 String doEnableIncomingMailLogging()
           
 String doEnableOutgoingMailDebugging()
           
 String doEnableOutgoingMailLogging()
           
 String doEnableProfiling()
           
 String doEnableSoapAccessLog()
           
 String doEnableSoapDumpLog()
           
 String doEnableSqlDumpLog()
           
 String doEnableSqlLog()
           
 String doMarkLogs()
           
 Collection<org.apache.log4j.Level> getAvailableLevels()
           
 String getAvailableLevelsAsJson()
           
 String getFirstFileAppenderFileName(org.apache.log4j.Logger logger)
           
 String getIncomingMailFirstLogFileName()
           
 Collection getLoggers()
           
 String getMarkMessage()
           
 String getOutgoingMailFirstLogFileName()
           
 org.apache.log4j.Logger getOutgoingMailLogger()
           
 org.apache.log4j.Logger getRootLogger()
           
 boolean isAtLevel(org.apache.log4j.Logger logger, String targetLevel)
           
 boolean isHttpAccessLogEnabled()
           
 boolean isHttpAccessLogIncludeImagesEnabled()
           
 boolean isHttpDumpLogEnabled()
           
 boolean isIncomingMailDebugEnabled()
           
 boolean isIncomingMailLoggingEnabled()
           
 boolean isIncomingMailServerDefined()
           
 boolean isOutgoingMailDebugEnabled()
           
 boolean isOutgoingMailLoggingEnabled()
           
 boolean isOutgoingMailServerDefined()
           
 boolean isProfilingEnabled()
           
 boolean isRollOver()
           
 boolean isSoapAccessLogEnabled()
           
 boolean isSoapDumpLogEnabled()
           
 boolean isSqlDumpLogEnabled()
           
 boolean isSqlLogEnabled()
           
 void setMarkMessage(String markMessage)
           
 void setRollOver(boolean rollOver)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

ViewLogging

public ViewLogging(com.atlassian.mail.server.MailServerManager mailServerManager,
                   MailLoggingManager mailLoggingManager)
Method Detail

getLoggers

public Collection getLoggers()

getRootLogger

public org.apache.log4j.Logger getRootLogger()

getAvailableLevels

public Collection<org.apache.log4j.Level> getAvailableLevels()

getAvailableLevelsAsJson

public String getAvailableLevelsAsJson()

doMarkLogs

public String doMarkLogs()
                  throws Exception
Throws:
Exception

doEnableProfiling

public String doEnableProfiling()
                         throws Exception
Throws:
Exception

doDisableProfiling

public String doDisableProfiling()
                          throws Exception
Throws:
Exception

isProfilingEnabled

public boolean isProfilingEnabled()

doEnableSoapAccessLog

public String doEnableSoapAccessLog()

doDisableSoapAccessLog

public String doDisableSoapAccessLog()

doEnableSoapDumpLog

public String doEnableSoapDumpLog()

doDisableSoapDumpLog

public String doDisableSoapDumpLog()

isSoapAccessLogEnabled

public boolean isSoapAccessLogEnabled()

isSoapDumpLogEnabled

public boolean isSoapDumpLogEnabled()

doEnableHttpAccessLog

public String doEnableHttpAccessLog()

doDisableHttpAccessLog

public String doDisableHttpAccessLog()

isHttpAccessLogEnabled

public boolean isHttpAccessLogEnabled()

doEnableHttpDumpLog

public String doEnableHttpDumpLog()

doDisableHttpDumpLog

public String doDisableHttpDumpLog()

isHttpDumpLogEnabled

public boolean isHttpDumpLogEnabled()

doEnableHttpAccessLogIncludeImages

public String doEnableHttpAccessLogIncludeImages()

doDisableHttpAccessLogIncludeImages

public String doDisableHttpAccessLogIncludeImages()

isHttpAccessLogIncludeImagesEnabled

public boolean isHttpAccessLogIncludeImagesEnabled()

doEnableSqlLog

public String doEnableSqlLog()

doDisableSqlLog

public String doDisableSqlLog()

doEnableSqlDumpLog

public String doEnableSqlDumpLog()

doDisableSqlDumpLog

public String doDisableSqlDumpLog()

isSqlLogEnabled

public boolean isSqlLogEnabled()

isSqlDumpLogEnabled

public boolean isSqlDumpLogEnabled()

isAtLevel

public boolean isAtLevel(org.apache.log4j.Logger logger,
                         String targetLevel)

getOutgoingMailLogger

public org.apache.log4j.Logger getOutgoingMailLogger()

isOutgoingMailLoggingEnabled

public boolean isOutgoingMailLoggingEnabled()

isOutgoingMailDebugEnabled

public boolean isOutgoingMailDebugEnabled()

isIncomingMailLoggingEnabled

public boolean isIncomingMailLoggingEnabled()

isIncomingMailDebugEnabled

public boolean isIncomingMailDebugEnabled()

isOutgoingMailServerDefined

public boolean isOutgoingMailServerDefined()

isIncomingMailServerDefined

public boolean isIncomingMailServerDefined()

getOutgoingMailFirstLogFileName

@Nullable
public String getOutgoingMailFirstLogFileName()

getIncomingMailFirstLogFileName

@Nullable
public String getIncomingMailFirstLogFileName()

getFirstFileAppenderFileName

@Nullable
public String getFirstFileAppenderFileName(org.apache.log4j.Logger logger)

doEnableOutgoingMailLogging

public String doEnableOutgoingMailLogging()

doDisableOutgoingMailLogging

public String doDisableOutgoingMailLogging()

doDisableOutgoingMailDebugging

public String doDisableOutgoingMailDebugging()

doEnableOutgoingMailDebugging

public String doEnableOutgoingMailDebugging()

doEnableIncomingMailLogging

public String doEnableIncomingMailLogging()

doDisableIncomingMailLogging

public String doDisableIncomingMailLogging()

doDisableIncomingMailDebugging

public String doDisableIncomingMailDebugging()

doEnableIncomingMailDebugging

public String doEnableIncomingMailDebugging()

getMarkMessage

public String getMarkMessage()

setMarkMessage

public void setMarkMessage(String markMessage)

isRollOver

public boolean isRollOver()

setRollOver

public void setRollOver(boolean rollOver)


Copyright © 2002-2013 Atlassian. All Rights Reserved.