Skip to content

Commit

Permalink
Set logStreamer to default value of driver (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
econsult-devops authored Feb 12, 2025
1 parent 54e17bb commit 8ac3cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive
exitResult: &drivers.ExitResult{},
startedAt: time.Now(),
logger: d.logger.Named(fmt.Sprintf("podman.%s", podmanTaskSocketName)),
logStreamer: podmanTaskConfig.Logging.Driver == LOG_DRIVER_JOURNALD,
logStreamer: createOpts.LogConfiguration.Driver == LOG_DRIVER_JOURNALD,
logPointer: time.Now(),
collectionInterval: time.Second,
totalCPUStats: cpustats.New(d.compute),
Expand Down

0 comments on commit 8ac3cd4

Please sign in to comment.