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 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()
           
 
Method Summary
 String doDisableHttpAccessLog()
           
 String doDisableHttpAccessLogIncludeImages()
           
 String doDisableHttpDumpLog()
           
 String doDisableProfiling()
           
 String doDisableSoapAccessLog()
           
 String doDisableSoapDumpLog()
           
 String doDisableSqlDumpLog()
           
 String doDisableSqlLog()
           
 String doEnableHttpAccessLog()
           
 String doEnableHttpAccessLogIncludeImages()
           
 String doEnableHttpDumpLog()
           
 String doEnableProfiling()
           
 String doEnableSoapAccessLog()
           
 String doEnableSoapDumpLog()
           
 String doEnableSqlDumpLog()
           
 String doEnableSqlLog()
           
 String doMarkLogs()
           
 Collection getAvailableLevels()
           
 Collection getLoggers()
           
 String getMarkMessage()
           
 org.apache.log4j.Logger getRootLogger()
           
 boolean isAtLevel(org.apache.log4j.Logger logger, String targetLevel)
           
 boolean isHttpAccessLogEnabled()
           
 boolean isHttpAccessLogIncludeImagesEnabled()
           
 boolean isHttpDumpLogEnabled()
           
 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, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getReasons, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, 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()
Method Detail

getLoggers

public Collection getLoggers()

getRootLogger

public org.apache.log4j.Logger getRootLogger()

getAvailableLevels

public Collection getAvailableLevels()

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)

getMarkMessage

public String getMarkMessage()

setMarkMessage

public void setMarkMessage(String markMessage)

isRollOver

public boolean isRollOver()

setRollOver

public void setRollOver(boolean rollOver)


Copyright © 2002-2011 Atlassian. All Rights Reserved.