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

Log file always available #149

Closed
xescugc opened this issue Nov 26, 2020 · 0 comments · Fixed by #150
Closed

Log file always available #149

xescugc opened this issue Nov 26, 2020 · 0 comments · Fixed by #150
Assignees
Labels
Feature roadmap feature

Comments

@xescugc
Copy link
Member

xescugc commented Nov 26, 2020

Abstract

Be able to always have the logs available with the information of the last run with -v

Proposal

Always write the logs of the last run to $XDG_CACHE_HOME. Should also be able to be modifield with --log-file=path or LOG_FILE=path.

Implementation

Just always initialize the log writter to the LOG_FILE and if the -v is used then use a io.MultiWriter.

Open issues (if applicable)

@xescugc xescugc added the Feature roadmap feature label Nov 26, 2020
@xescugc xescugc self-assigned this Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature roadmap feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant