I have discovered that the Macro log files do not record when a macro is called from another macro. I believe that this should be corrected.
Log files are shown below for Test1, Test2, Test3 macros. These are simple one line Message> macros to test logging. The contents can be seen in the logs that follow. I manually ran Test1, then Test2, then Test3. All three macros performed as intended, Test1 called Test2, Test2 called Test3.
Log contents:
================== Test1 log ==================
01/18/2003 13:07:31:130 - Started Macro : Test1
01/18/2003 13:07:32:950 - MessageModal>This is test 1 being logged
01/18/2003 13:07:37:610 - Macro>C:\Program Files\MJT Net Ltd\Macro Scheduler\Forum\Test2.scp
01/18/2003 13:07:37:670 - Finished Macro : Test1
================== Test2 log ==================
01/18/2003 13:07:48:440 - Started Macro : Test2
01/18/2003 13:07:50:300 - MessageModal>This is test 2 being logged
01/18/2003 13:07:51:350 - Macro>C:\Program Files\MJT Net Ltd\Macro Scheduler\Forum\Test3.scp
01/18/2003 13:07:51:350 - Finished Macro : Test2
================== Test3 log ==================
01/18/2003 13:07:57:880 - Started Macro : Test3
01/18/2003 13:07:59:750 - MessageModal>This is test 3 being logged
01/18/2003 13:07:59:750 - Finished Macro : Test3
==========================
Problem: Looking at the logs it would seem that each macro ran once. What should be shown is that Test1 ran once. Test2 ran twice, first time called by Test1, the second time from the manual execution. Test3 ran three times: the first time from Test1 calling Test2 which called Test3, the second time when called from the manual execution of Test2, the third time when Test3 was run manually. But the logs are only showing the results of the manual executions.
===============
Since the subject has been brougnt up, it would also be nice to let the logs record while in the Debug mode. If not while doing Single Step, then at least when running to a Breakpoint.
Macro Log File problem
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Macro Log File problem
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Marcus Tettmar
- Site Admin
- Posts: 7393
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
This is on the list for improvement in the next version.
This is on the list for improvement in the next version.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: