TkLogger

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.
Last modified: 11/13/2008 21:25
Send questions or comments to:LRIS Support

The information on this page is the property of the W. M. Keck Observatory. The contents of this page or any part thereof shall not be copied or otherwise reproduced or transferred to other documents or used or disclosed to others for any purpose other than observing support at the W. M. Keck Observatory and the subsequent analysis and publication of scientific data obtained from observations conducted at the W. M. Keck Observatory. All rights reserved. © W. M. Keck Observatory.