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

Is there an option to disable the log file creation #124

Closed
goldyfruit opened this issue Apr 12, 2023 · 5 comments
Closed

Is there an option to disable the log file creation #124

goldyfruit opened this issue Apr 12, 2023 · 5 comments

Comments

@goldyfruit
Copy link
Member

All services creates their log file into ~/.local/state/, which is helpful when debugging but when running inside a container docker logs already provides the logs.

This could lead to a container filling it's filesystem. Does OVOS has an option the possibility to disable this log creation?

@JarbasAl
Copy link
Member

yes, set the logs path in config to stdout

@goldyfruit
Copy link
Member Author

I'm not able to find the exact option name in mycroft.conf, is it juste log_path in the main section?

@JarbasAl
Copy link
Member

JarbasAl commented Apr 12, 2023

I'm not able to find the exact option name in mycroft.conf, is it juste log_path in the main section?

logs.path https://github.com/OpenVoiceOS/ovos-utils/blob/dev/ovos_utils/log.py#L59

@goldyfruit
Copy link
Member Author

goldyfruit commented Apr 12, 2023

I'm not able to find the exact option name in mycroft.conf, is it juste log_path in the main section?

logs.path https://github.com/OpenVoiceOS/ovos-utils/blob/dev/ovos_utils/log.py#L59

I'm confused, is it "log_path": "stdout", "log": {"path": "stdout"} or "logs": {"path": "stdout"} ?

@goldyfruit
Copy link
Member Author

"logs": {"path": "stdout"} it is and fixed the stdout with #125

This was referenced Apr 17, 2023
@github-actions github-actions bot mentioned this issue Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants