Skip to content

Commit 129e4f6

Browse files
Copilotpelikhan
andauthored
Downgrade engine default message to trace level (#3687)
* Initial plan * Downgrade engine default message to trace level Change the message "No 'engine:' setting found, defaulting to: copilot" from an info-level message (displayed with --verbose flag) to a trace-level message (displayed only when DEBUG=workflow:compiler or DEBUG=* is set). This reduces noise in verbose output while still making the information available for debugging purposes. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 1b86ac2 commit 129e4f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pkg/workflow/compiler.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,9 +710,7 @@ func (c *Compiler) ParseWorkflowFile(markdownPath string) (*WorkflowData, error)
710710
if engineSetting == "" {
711711
defaultEngine := c.engineRegistry.GetDefaultEngine()
712712
engineSetting = defaultEngine.GetID()
713-
if c.verbose {
714-
fmt.Println(console.FormatInfoMessage(fmt.Sprintf("NOTE: No 'engine:' setting found, defaulting to: %s", engineSetting)))
715-
}
713+
log.Printf("No 'engine:' setting found, defaulting to: %s", engineSetting)
716714
// Create a default EngineConfig with the default engine ID if not already set
717715
if engineConfig == nil {
718716
engineConfig = &EngineConfig{ID: engineSetting}

0 commit comments

Comments
 (0)