Skip to content

Commit

Permalink
Fix logging for astro CLI local parse and pytest commands (#1792)
Browse files Browse the repository at this point in the history
Co-authored-by: Pritesh Arora <pritt@Priteshs-MacBook-Pro.local>
  • Loading branch information
2 people authored and neel-astro committed Feb 19, 2025
1 parent bea0422 commit 3ecd77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/docker_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (d *DockerImage) Pytest(pytestFile, airflowHome, envFile, testHomeDirectory
args = append(args, pytestArgs...)
// run pytest image
var stdout, stderr io.Writer
if logger.IsLevelEnabled(logrus.DebugLevel) {
if logger.IsLevelEnabled(logrus.WarnLevel) {
stdout = os.Stdout
stderr = os.Stderr
} else {
Expand Down

0 comments on commit 3ecd77a

Please sign in to comment.