JSutils for Computer Energy Saving and Energy Use Calculation
Bookmark and Share
Updated: 19-Nov-2008
JSutils Compact Disk

KeyOff Log File

Latest Version: 2.3
Size: 480KB
Released
19-November-2008
KeyOff icon
JSutils software logo

The program generates a log file to enable fault finding and monitoring to be carried out. The amount of logging is dependent on the Log Level set in the Configuration Screen which has details of the various levels available. If the Log Level is set to Normal or Full the program version will be included on start up. If the log level is set to Full details of the configuration file will also be written to the log on start up. Setting the log level to Full will generate very large log files and is only useful for debugging. If the log file is deleted a new one will be created the next time the program is started. The log file can normally be found in the log directory of the main program (usually c:\program files\JSutils\KeyOff\Log).

Log File Format
The log file generated by the client program has the following format:

<data/time>, <status>, <status details>, <counter>, <keyboard status >, <mouse status >

Where:
<data/time> sh 19-Nov-2008 er's internal clock.
<status> shows program status (Close - program ended normally, Config - configuration change, Enter - program enters new mode, Exit - program terminated by exit button, Hibernate - program in hibernate delay, Inactive - program inactive, Monitor - program in monitor off delay, Power Off - program in power off delay, Reboot - program in reboot delay, Reset - program reset by reset button, Run - program active and running, Simulate - program simulating action, Shutdown - program in shutdown delay, Standby - program in standby delay, Start - program starts)
<status details> shows status details(Activate, Initialise, Hibernate, Monitor, Power Off, Reboot, Run, Shutdown, Standby, Test, Updated).

<counter> is the value of the internal program counter.
<keyboard status > - True if a key or mouse button has been pressed or released since the last check otherwise False.
<mouse status > - True if the mouse has been moved or released since the last check otherwise False.

A '* in front of <status> indicates the program is in test mode.

<keyboard status> and <mouse status> are only shown if the log level is set to Full.

Sample program log file

Slave Program Log File Format
The log file generated by the slave program has the following format:

<data/time>, <status>, <status details>, <counter>, <communications status>

Where:
<data/time> shows current data and time from the computer's internal clock.
<status> shows program status (Close - program ended normally, Enter - program enters new mode, Exit - program terminated by exit button, Inactive - program inactive, Monitor - program in monitor off delay, Power Off - program in power off delay, Reboot - program in reboot delay, Reset - program reset by reset button, Restart - when restarting hibernate or standby, Run - program active and running, Simulate - program simulating action, Shutdown - program in shutdown delay, Standby - program in standby delay, Start - program starts, UnConfig - Slave program not configured).
<status details> shows status details(Activate, Initialise, Monitor, Power Off, Reboot, Run, Shutdown, Standby, Test, ******** - program not configured).

<count> is the value of the internal program counter.
<communications status >
- show the status of communications with the main program (Fail, OK or Error)

A '* in front of <status> indicates the program is in test mode.

<communications status> is only shown if the log level is set to Full