Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-06-2007, 01:45 PM
smckeown smckeown is online now
Registered User
 
Join Date: 05-01-2007
Posts: 18
Disable writing to the Windows Event Log

Hi,

I am wondering if there is a way to 'disable' or 'turn off' the logging to the Windows event log from VBP?

This is causing an error on our build machine as when the log file isn't available, VBP logs so many errors to the Event log the Event log fills up. This then causes other applications to crash when they cannot write to the Event log.

Increasing the size of the log only delays the crashes.

We are using VBP 5.7.

Thanks,
Sheryl
Reply With Quote
  #2  
Old 07-06-2007, 08:01 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
Visual Build does not log build log entries to the Windows Event Log - the errors you are encountering must be errors from the actual Visual Build application.

Note that support is no longer available for Visual Build v.5 (and earlier)...

Perhaps removing and reinstalling Visual Build would help. Another option might be change the settings to "Overwrite as needed" on the Windows log that is overflowing (in the Event Viewer, right-click on the particular log, Properties, then as required)...
Reply With Quote
  #3  
Old 07-06-2007, 08:19 PM
smckeown smckeown is online now
Registered User
 
Join Date: 05-01-2007
Posts: 18
Hi,

Thanks for the reply.

True, it doesn't log build errors to the Event Log, VBP logs to the Event log if VBP can't find the log file specified in the build script.

From the VPB help file [search help on "Event Log" and select the entry Logging]
Note: If the log file cannot be written to, the error information will be written to the Windows Event Viewer Application tab (available in Administrative Tools).

I agree this is nice, but it would be nicer if:

1. This could be turned off
2. It only logged one error per build with the message "Further logging errors will not be logged for this build."

Any way to 'set' this?

Thanks,
Sheryl
Reply With Quote
  #4  
Old 07-06-2007, 08:24 PM
smckeown smckeown is online now
Registered User
 
Join Date: 05-01-2007
Posts: 18
Hi,

Here is a screen capture of the Event log.

Thanks for any input.

-Sheryl
Attached Images
 
Reply With Quote
  #5  
Old 07-08-2007, 09:51 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
It's not currently possible to disable writing to the Event Viewer when file logging fails. For a future release, we'll consider adding that capability and/or an option to limit the amount of events written in that circumstance.

If you can't prevent file logging from failing, you may be able to detect it did/will fail and disable file logging and/or abort the build.
Reply With Quote
Reply


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 On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:55 PM.


Copyright © 1999-2023 Kinook Software, Inc.