Macro Log File problem

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Macro Log File problem

Post by Bob Hansen » Mon Jan 20, 2003 11:19 pm

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.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Jan 20, 2003 11:22 pm

Hi,

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?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Jan 21, 2003 12:36 am

Thank you, great minds think alike!
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts