|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.startup.JiraStartupLogger
public class JiraStartupLogger
This class prints information to the log when JIRA is "about to start" and when it "has started"
This is really here for JIRA admins and support staff to know when JIRA is starting and hence if anything goes wrong during the boot they can tell. Also is gives a strong indication of when JIRA was "restarted"
Constructor Summary | |
---|---|
JiraStartupLogger()
|
Method Summary | |
---|---|
static org.apache.log4j.Logger |
log()
Returns the underlying Logger to be used directly. |
void |
printMessage(Collection<String> messages,
org.apache.log4j.Level logLevel)
Prints a series of messages to the log with "stars" around them |
void |
printMessage(String message,
org.apache.log4j.Level logLevel)
Prints a single message to the log with "stars" around it |
void |
printStartedMessage()
Once JIRA has SUCCESSFULLY started, this is shown. |
void |
printStartingMessage()
This prints a message that JIRA is "starting". |
void |
printStartingMessageDatabaseOK()
Once the JIRA database checks out as OK, we can proceed to show more JIRA information |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraStartupLogger()
Method Detail |
---|
public static org.apache.log4j.Logger log()
public void printMessage(String message, org.apache.log4j.Level logLevel)
message
- the message to printlogLevel
- the log levelpublic void printMessage(Collection<String> messages, org.apache.log4j.Level logLevel)
messages
- the messages to printlogLevel
- the log levelpublic void printStartingMessage()
NOTE : It must be very careful not to "bring up" the JIRA world from an unintended class dependency. At present this code will only get basic JIRA build info, App Server Info and Java JVM Info. It is veyr careful not to
public void printStartingMessageDatabaseOK()
public void printStartedMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |