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

Always send debug logs to a file #88

Merged
merged 22 commits into from
Mar 2, 2021
Merged

Always send debug logs to a file #88

merged 22 commits into from
Mar 2, 2021

Conversation

kke
Copy link
Contributor

@kke kke commented Feb 15, 2021

Adds a debug level filelogger and displays a message with the log file location on apply failure.

@kke
Copy link
Contributor Author

kke commented Feb 15, 2021

Looks like the cache dir is not working in CI FATA[0000] error while creating log directory /var/cache/k0sctl: mkdir /var/cache/k0sctl: permission denied

@jnummelin
Copy link
Contributor

I really do not get why it fails like that 🤷

@kke
Copy link
Contributor Author

kke commented Feb 26, 2021

I really do not get why it fails like that 🤷

Probably k0sctl should be run as root to allow creating stuff under /var/cache

Maybe it should fall back to ~/.k0sctl/cache.

@kke
Copy link
Contributor Author

kke commented Feb 26, 2021

The error comes from k0sctl 0.4 🤔

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.

None yet

2 participants