k0sproject / k0sproject/k0sctl

One log file per invocation of k0sctl

Open
#358 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
582
Forks
113
Avg merge
2d 13h
Merged PRs (30d)
34

Description

Currently, k0sctl will produce one big log file. I wonder if it would be better to create a log file per invocation of k0sctl instead. I see the following benefits:

* Finding the right logs will be easier, because the log file grows over time and becomes a bit unwieldy.
* Cleaning up old logs is easier, while keeping more recent ones (based on the file name or file modification times).
* Multiple concurrent invocations of k0sctl won't interleave their log lines with each other.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.