News:

VoxCommando supports plugins for a wide variety of programs and devices. Contact us if you want to create your own.

Main Menu

managing VC Log

Started by Haddood, October 20, 2014, 04:08:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Haddood

VC log can grow pretty heavy over time ... this command will copy it to log folder and add the date to the name. keeping the main log smaller.

I use it with a daily timer to do this at 11:59 pm daily


<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.0.5-->
<command id="384" name="Archive Log" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
 <action>
   <cmdType>File.Move</cmdType>
   <params>
     <param>{Path.VC}\voxLog.txt</param>
     <param>{Path.VC}\logs\{DtCustom.yyyy}'{DtCustom.MM}'{DtCustom.dd} voxLog.txt</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <action>
   <cmdType>VC.SetEventTimer</cmdType>
   <params>
     <param>11:59 PM</param>
     <param>VC.Log.Archive</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <event>VC.Log.Archive</event>
 <event>VC.Loaded</event>
</command>

When Voice command gets tough, use hand gestures

jitterjames

Thanks Haddood, very handy.

For what it's worth, under normal operating circumstances, when everything is working normally, I turn my logging off.

keithj69

This is awesome. Thanks.  Just to point out, the log folder is not there be default, so it needs to be created.

Haddood

#3
Quote from: keithj69 on October 20, 2014, 12:27:24 PM
This is awesome. Thanks.  Just to point out, the log folder is not there be default, so it needs to be created.

Thanks for catching that, thought VC will create it ::bonk

James ... I am logging few stuff, apart from normal log, recognised command, not recognised ...etc. with confidence levels, who issued the command ... Hopefully one day to build some statistics to see what works good, what is so so. I think this Info will come in handy one day, in open-air mic setup
When Voice command gets tough, use hand gestures