Kitematic: Feature Request: Clear Logs of running containers

Created on 18 Dec 2017  路  6Comments  路  Source: docker/kitematic

Expected behavior

  • allow clearing logs of a running container via the UI in the log view

    Actual behavior

  • It is currently impossible to clear logs

    Information about the Issue

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

Steps to reproduce the behavior

N/A

more-info-needed

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.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwschram picture jwschram  路  4Comments

EliotSlevin picture EliotSlevin  路  3Comments

natery2000 picture natery2000  路  3Comments

EugeneKrapivin picture EugeneKrapivin  路  4Comments

ClemMakesApps picture ClemMakesApps  路  3Comments