Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Fetch CLI log path from config if available #2192

Merged
merged 2 commits into from
Jul 11, 2019
Merged

Conversation

forslund
Copy link
Collaborator

@forslund forslund commented Jul 6, 2019

Description

Make log location configurable for CLI.

How to test

Set the config parameter "log_dir" to something and ensure that the CLI doesn't show anything.

Contributor license agreement signed?

CLA [ Yes ]

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Jul 6, 2019
start_log_monitor("/var/log/mycroft/skills.log")
start_log_monitor("/var/log/mycroft/voice.log")
# logs when using Debian package TODO: Unify all
start_log_monitor("/var/log/mycroft-skills.log")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the Debian package write to /var/log/mycroft-skills.log anymore? I don't have a Mark 1 up at the moment to check., but I'm pretty sure it doesn't. If not, let's remove support for those old logs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, those aren't needed anymore. Mark-1 switched a long time ago.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR updated

@penrods penrods merged commit fc0a253 into dev Jul 11, 2019
@penrods penrods deleted the feature/desktop-deb branch July 11, 2019 22:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants