
|
 |
AllOff
Log File |
Latest
Version: 2.1
Size: 476KB
Released
10-April-2008 |
 |
 |
|
 |
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\AllOff\Log).
Main Program Log File Format
The log file generated by the main program has the following format:
<data/time>, <status>,
<status details>, <counter>, <cpu load>, <average
cpu load>, <keyboard & mouse 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)
<status details> shows status details(Activate,
Initialise, Monitor, Power Off, Reboot, Run, Shutdown, Standby,
Test).
<count> is the value of the internal
program counter.
<cpu load> - instantaneous cpu load(%),
<average cpu load> - average cpu load over the period
specified.
<keyboard & mouse status> - 'K'
indicates key press, 'M' indicates mouse movement in previous
second
A '* in front of <status> indicates
the program is in test mode.
<cpu load>, <average cpu
load> and <keyboard & mouse status> are only shown
if the log level is set to Full.
Sample main 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).
<status details> shows status details(Activate,
Initialise, Monitor, Power Off, Reboot, Run, Shutdown, Standby,
Test).
<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.
|