Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable log output to file, specify log levels and rotating log directory #108

Open
EpicMouse123 opened this issue Jul 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@EpicMouse123
Copy link

There are times due to how I am launching the agent I am unable to redirect or see stdout/stderr can an argument be added to main to allow the process to write its own logfile

@cedricve
Copy link
Member

Agree, provide an option for setting LOG_LEVEL "debug, warning, error" and LOG_DIRECTORY for writing a rotated log files.
Have a LOG_OUTPUT to "true" or "false" for writing a log file to disk.

@cedricve cedricve self-assigned this Jul 10, 2023
@cedricve cedricve added the enhancement New feature or request label Jul 10, 2023
@cedricve cedricve changed the title write stdout to file for debugging Enable log output to file, specify log levels and rotating log directory Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants