Skip to content

[elastic-agent]: ensure that the enroll command also logs to file if configured #24897

@simitt

Description

@simitt

The enroll command can be automatically triggered when starting the docker container. In which case the LOGS_PATH should be respected.

Code path that needs to be changed:
https://github.com/elastic/beats/blob/master/x-pack/elastic-agent/pkg/agent/cmd/enroll.go#L197-L200

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions