Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Frequently Asked Questions > Logging

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-05-2018, 09:38 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,523
How can I send the entire log file from a build?

The LOGFILE macro can be used to send the build log file, but Visual Build caches writing to the log file by default (1 second/1000 messages), so messages logged within the last second might not be included in the attached file. To ensure that the entire log file is sent, you can either disable caching or pause the build before sending the log file.

To disable log file caching, add a Run Script action to set these Visual Build application options to 0 (depending on whether text or XML logging is being used):

https://kinook.com/VisBuildPro/Manua...esproperty.htm
https://kinook.com/VisBuildPro/Manua...dsproperty.htm

Code:
Application.Options.TextLoggerCacheMessages = 0
Application.Options.TextLoggerCacheSeconds = 0
https://kinook.com/VisBuildPro/Manua...dsproperty.htm
https://kinook.com/VisBuildPro/Manua...esproperty.htm

Code:
Application.Options.XMLLoggerCacheMessages = 0
Application.Options.XMLLoggerCacheSeconds = 0

To pause the build, either configure the step that sends the log file to 'Pause 1 seconds before' on the General tab, or add a Wait step to wait 1 second.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is On



All times are GMT -5. The time now is 08:16 PM.


Copyright 1999-2018 Kinook Software, Inc.