Skip to content

Command line flag to control logging output file#3365

Merged
balloob merged 1 commit into
home-assistant:nextfrom
TD22057:log_file
Sep 14, 2017
Merged

Command line flag to control logging output file#3365
balloob merged 1 commit into
home-assistant:nextfrom
TD22057:log_file

Conversation

@TD22057
Copy link
Copy Markdown
Contributor

@TD22057 TD22057 commented Sep 14, 2017

Description:
Add a hass command line flag to control where the log file is written to. If not set, the current system (CONFIG/home-assistant.log) is used. This allows users to control where the log file is written to. Many/most Linux app logs are written to /var/log. On the Pi, it's useful to have logs written to a ram disk to avoid wearing the SD card. Original feature request thread is here.

Pull request in home-assistant (if applicable): home-assistant/core#9422

@balloob balloob merged commit d60ecab into home-assistant:next Sep 14, 2017
@TD22057 TD22057 deleted the log_file branch September 14, 2017 15:09
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

Successfully merging this pull request may close these issues.

2 participants