allow clearing logs of a running container via the UI in the log view
It is currently impossible to clear logs
Some containers create a lot of log messages when starting up, hence making debugging hard especially for those containers. This makes debugging a bit of a hassle. An option to clear these logs would make this easy, also allowing focussing on managing container outputs
N/A
The UI is there to stream the logs, I don't think that "clearing" them is a desired behavior.
I'm open to suggestions on how this could work.
I'd like to have logs from currently running instance only. For example, when I restart container I don't want to see logs of the previous run, i'm only interested in how it's starting.
+1, clearing logs from UI will simplify debugging in many cases.
I'm open to suggestions on how this could work.
@FrenchBen recommending to have a button, on clicking, to remove all the logs on the screen when the button is pressed. I dont know how practical this is as docker kinda dumps all the logs when a container restarts
+1, the docker image I'm using spews performance metrics into the logs every 5 minutes, which makes it very hard to find my recent error logs when I have to visually find the few lines of errors between large patches of nearly identical performance metrics from time immemorial. Don't protect the user from himself.... if I'm happy to clear the logs in my current view, please let me. That doesn't delete the logs from docker, just clears my view.
The UI is there to stream the logs, I don't think that "clearing" them is a desired behavior.
Even after closing and re-opening Kitematic, the logs are reloaded. This clauses my system to slow down. We can empty the logs when Kitematic closes but that is changing the expected behavior.
So would love a clear logs feature.
Most helpful comment
+1, the docker image I'm using spews performance metrics into the logs every 5 minutes, which makes it very hard to find my recent error logs when I have to visually find the few lines of errors between large patches of nearly identical performance metrics from time immemorial. Don't protect the user from himself.... if I'm happy to clear the logs in my current view, please let me. That doesn't delete the logs from docker, just clears my view.