Package com.atlassian.confluence.status
Class SystemErrorInformationLogger
- java.lang.Object
-
- com.atlassian.confluence.status.SystemErrorInformationLogger
-
public class SystemErrorInformationLogger extends Object
This class does little more than write the information which is contained on the 500 page to a log file.
-
-
Constructor Summary
Constructors Constructor Description SystemErrorInformationLogger()
SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request)
SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
logException()
String
toString(boolean writeExtendedInfo)
Retrieve the system information as an ASCII formatted string.void
writeToLog(boolean writeExtendedInfo)
This is essentially a straight translation of the JSP into Java code.
-
-
-
Constructor Detail
-
SystemErrorInformationLogger
public SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, Throwable throwable)
-
SystemErrorInformationLogger
public SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request)
-
SystemErrorInformationLogger
public SystemErrorInformationLogger()
-
-
Method Detail
-
writeToLog
public void writeToLog(boolean writeExtendedInfo)
This is essentially a straight translation of the JSP into Java code.
-
logException
public String logException()
- Returns:
- errorId
-
toString
public String toString(boolean writeExtendedInfo)
Retrieve the system information as an ASCII formatted string.- Parameters:
writeExtendedInfo
- amend with information about cluster and enabled plugins- Returns:
- an ASCII formatted string
-
-