Package com.atlassian.confluence.status
Class SystemErrorInformationLogger
java.lang.Object
com.atlassian.confluence.status.SystemErrorInformationLogger
This class does little more than write the information which is contained on the 500 page to a log file.
-
Constructor Summary
ConstructorsConstructorDescriptionSystemErrorInformationLogger
(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
Modifier and TypeMethodDescriptiontoString
(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 Details
-
SystemErrorInformationLogger
-
SystemErrorInformationLogger
public SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request) -
SystemErrorInformationLogger
public SystemErrorInformationLogger()
-
-
Method Details
-
writeToLog
public void writeToLog(boolean writeExtendedInfo) This is essentially a straight translation of the JSP into Java code. -
logException
- Returns:
- errorId
-
getUniqueID
-
toString
Retrieve the system information as an ASCII formatted string.- Parameters:
writeExtendedInfo
- amend with information about cluster and enabled plugins- Returns:
- an ASCII formatted string
-