scalyr / scalyr-agent-2

The source code for Scalyr Agent 2, the daemon process Scalyr customers run on their servers to collect metrics and logs.
Apache License 2.0
71 stars 56 forks source link

Feature: Add option to log to stdout #271

Open pheanex opened 5 years ago

pheanex commented 5 years ago

Currently only the intial logging of scalyr-agent-2 is sent to stdout and after forking off the daemon, logs are written to log-files. Can we add a CLI-option to write logs to stdout?

This would make this app more 12-factor-compliant and therefore easier to manage.

AFAICS we would just need to put a condition on scalyr_agent/agent_main.py#L707

jmorascalyr commented 5 years ago

Hello,

Thanks for the detailed feature request and the suggestions. I have submitted this to our product team, and they are currently reviewing it now. I will let you know when this has been created.

Regards,

pheanex commented 4 years ago

https://github.com/scalyr/scalyr-agent-2/pull/415 seems related