View Single Post
  #9  
Old 05-12-2006, 12:18 PM
Dave_Novak Dave_Novak is online now
Registered User
 
Join Date: 04-13-2006
Location: Atlanta, GA
Posts: 64
Well, I'm getting closer. I was able to turn off a fair amount of looging with the following code:

Sub vbld_StepStartingProject()
' turn off logging for any step that checked "Disable logging of action output"
If Step.NoLogging Then
vbld_TempMacros().Add "LOGFILE", ""
Else
' ensure that the logfile is re-enabled (it may have been disabled previously)
vbld_TempMacros().Remove "LOGFILE"
End If
End Sub

Sub vbld_StepDoneProject()
If Step.NoLogging Or Step.BuildStatus = vbldStepStatSkipped Then
vbld_TempMacros().Add "LOGFILE", ""
End If
End Sub


That said, is there any way to turn off output for steps that are skipped? I've been able to supress the "Step skipped" message in the log, but I can't figure out how to stop it from writing the "Building xxxxx" to the log. Is there an easy way to tell if a step is going to be skipped?
Reply With Quote