SwitchLog

Purpose

This command renames the current HomeSeer log file (AH.LOG or HOMESEER.LOG) and begins a new one.  The renamed log file contains the date and time of when the SwitchLog command was used.   This command is done automatically at midnight if log pruning is enabled.

Parameters

None.

Returns

None.

Example

Sub Main()

hs.SwitchLog

End Sub

Sample resulting output - e.g. renamed log file:

HomeSeer Log, Closed 2005 May 26 at 0000 00s.log

or

Ah Log, Closed 2005 May 26 at 0000 00s.log