Author Topic: Log File with Purge command  (Read 1896 times)

0 Members and 1 Guest are viewing this topic.

Matersammichman

  • Guest
Log File with Purge command
« on: December 19, 2006, 08:50:20 AM »
I want to create a Log File (.txt) that will record what actions Cad performs from the time a purge command starts, until it is finished, so that I can review what was purged. Has anyone coded this? :kewl:
« Last Edit: December 19, 2006, 04:03:03 PM by CmdrDuh »

Bryco

  • Water Moccasin
  • Posts: 1882
Re: Log File
« Reply #1 on: December 19, 2006, 09:54:54 AM »
I can't imaginine you can directly tap into that.
Yor 2 choices are
1)On begin command-tally up everything then find the difference on endcommand
2) Write your own purge command

I've written a purge blocks routine if you need it (that's the hard one)

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Log File
« Reply #2 on: December 19, 2006, 12:09:02 PM »
Another idea... If you redefine the dialog version of PURGE and force usage of the command line version, then you can review the output from this command.

Explore LOGFILEON, LOGFILEPATH, and LOGFILEOFF