Greetings,
The default behavior is to use the same log file for all scripts ran by a
given instance of BWS. However, you have control over this behavior.
Here's how:
The following command can be used to change logging behavior, place this in
a Rule action (at the beginning of each of your scripts where you want
different file names.)
Share("Logging") =
"c:\Mylog.log|ID_Log_Enabled||ID_Log_Notes|ID_Log_Status||ID_Log_ScreenChang
es||ID_CommittoSave|"
The first "position" is your desired file name - in this case I am using
c:\mylog.log
The next ones configure logging behavior - in this case logging is:
Enabled, logging Notes, Status, ScreenChanges and I am enabling the Commit
to Save feature (reminds me of ordering Waffle House hashbrowns.)
The "order" they appear is not relevant except that the file name needs to
be first.
Here are other permutations, basically I am removing options as I go.
Share("Logging") =
"c:\Mylog.log|ID_Log_Enabled||ID_Log_Notes|ID_Log_Status||ID_Log_ScreenChang
es|"
Share("Logging") =
"c:\Mylog.log|ID_Log_Enabled||ID_Log_Notes|ID_Log_Status|"
Share("Logging") = "c:\Mylog.log|ID_Log_Enabled||ID_Log_Notes|"
Anything less would be pointless J
If you are interested in how Commit to Save works - here is a Rules based
example of this "in action"
http://www.bostonworkstation.com/customer_center/script_center/script_detail
s.aspx?id=208&cat=3
Regards,
Thom
Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com <http://www.bossoft.com/>
Visit us in Booth 2471 at HIMSS08 - February 25-28 in Orlando, FL
Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx>
up for my weekly webinar!
LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frazier, Charles M.D.
Sent: Monday, March 03, 2008 3:45 PM
To: [email protected]
Subject: [Talk] Different Logging Files
I have several scripts that run on the same workstation. I want the separate
scripts to use separate log files. But even though I set the logfile name in
the logging toolbar on the separate scripts, all the scripts log into the
same file. Using rules-based scripting, how can I delineate the specific log
files I want the scripts to use?
Charlie
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.