org.olat.core.logging
Class LogRealTimeViewerController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.logging.LogRealTimeViewerController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable, org.quartz.JobListener
public class LogRealTimeViewerController
- extends BasicController
- implements org.quartz.JobListener
Description:
The log real time viewer controller offers the possibility to live-view the log file.
This can be handy for debugging or to monitor certain actions like a user
import.
Initial Date: 22.08.2008
- Author:
- gnaegi
| Methods inherited from class org.olat.core.gui.control.DefaultController |
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LogRealTimeViewerController
public LogRealTimeViewerController(UserRequest ureq,
WindowControl control,
java.lang.String loggingPackage,
org.apache.log4j.Level level,
boolean removeLogNoise)
- Constructor for creating a real time log viewer controller
- Parameters:
ureq - The user request objectcontrol - The window control objectloggingPackage - The logging package or a specific class. All messages
from the given package will be displayedlevel - The log level to include in the list. Note that this will not
change the log level on the packages itself, use the admin console
to do this. This filters only the messages that are below this
levelremoveLogNoise - true: remove a lot of brasato specific stuff that is
normally not interesting; false: show log entries as they are
logged. Example if set to true:
2008-08-22 11:20:40 [QuartzScheduler_Worker-1] INFO LDAPUserSynchronizerJob - OLAT::INFO ^%^ I441 ^%^ org.olat.ldap ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ Starting LDAP user synchronize job
will become
2008-08-22 11:20:40 - n/a - Starting LDAP user synchronize job
getName
public java.lang.String getName()
- Specified by:
getName in interface org.quartz.JobListener
- See Also:
JobListener.getName()
jobExecutionVetoed
public void jobExecutionVetoed(org.quartz.JobExecutionContext arg0)
- Specified by:
jobExecutionVetoed in interface org.quartz.JobListener
- See Also:
JobListener.jobExecutionVetoed(org.quartz.JobExecutionContext)
jobToBeExecuted
public void jobToBeExecuted(org.quartz.JobExecutionContext arg0)
- Specified by:
jobToBeExecuted in interface org.quartz.JobListener
- See Also:
JobListener.jobToBeExecuted(org.quartz.JobExecutionContext)
jobWasExecuted
public void jobWasExecuted(org.quartz.JobExecutionContext arg0,
org.quartz.JobExecutionException arg1)
- Specified by:
jobWasExecuted in interface org.quartz.JobListener
- See Also:
JobListener.jobWasExecuted(org.quartz.JobExecutionContext,
org.quartz.JobExecutionException)