I am trying to get script logging to work.
Machine is running Windows7 (64), Scheduler version = 12.8.
-I have enabled 'Log Progress of Macro'.
-The Log file exists.
-I have tried all 3 options 'before', 'after' and 'start and completion of step'.
The log file is in c:\users\public\public documents so it should be available.
Any suggestions?
Logging not working on Win7
Moderators: JRL, Dorian (MJT support)
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Don't know why it's not working for you. I'm unable to replicate with an identical setup. Using Win7 x64 and v12.8 and also set my log file to:
c:\users\public\public documents\mylog.txt
Ran the macro. Log file was created and populated as expected and I could view it by clicking the log file toolbar button.
How are you running the macro? Note that if running from the command line or via a compiled macro you will need to pass the log file on the command line (/LOGFILE=) or with a compiled macro the logfile option can be compiled into it via the compiler options.
c:\users\public\public documents\mylog.txt
Ran the macro. Log file was created and populated as expected and I could view it by clicking the log file toolbar button.
How are you running the macro? Note that if running from the command line or via a compiled macro you will need to pass the log file on the command line (/LOGFILE=) or with a compiled macro the logfile option can be compiled into it via the compiler options.
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?
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Ah. Logging is not active during debugging. When running/stepping in the editor you are debugging. Run it from outside the editor and logging will be active.
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?