About TkLogger

TkLogger is a program which monitors output appearing in various LRIS logfiles and searches for the occurance of certain key strings. Generally, such strings denote run-time errors in the instrument. When a matching string is found, TkLogger will raise a window with a message notifying the observer than an error has occured and generally offering advice on what actions to take in order to remedy the problem.

Invocation

TkLogger is launched when the menu option Start Up All LRIS Control is selected from the desktop menu. This action runs a script called start_tklogger.

Below is an image of TkLogger that provides an example error report.

Associated Files

The following files are related to TkLogger:
~lris/bin/start_tklogger
Script which launches TkLogger
~lris/bin/tklogger.config
File which defines the files to be monitored, the search strings on which to trigger, and the associated Tcl procedures to be launched upon trigger.
~/.tkloggerrc
Startup file which defines window size and color, among other things.
.tklogger-procs
File which defines the procedures to be executed when the various error strings are encountered in logfiles.