due to several issues I tried to get more log-entries for a couple of bundles. So my log:list in karaf did get larger and larger.
If I set each of the entered bundle (not sure if that is the correct word for that) to ERROR, the logging itself returns to normal, but the entries for the bundles remain in the log:list. Is this a point not to worry about, or is there a command which could remove entries?
This is an old post, but as I just had the same question, here you have the way to do it (if there is a better way, i.e. from the karaf console itself, I do not know)
Just remove the corresponding entries in the configuration file. It is read on real time, so no need to restart or anything else. Just after removing the entries in the file, you will see them disappear from the karaf’s “log:list”
In debian (in other distributions, it may be somewhere else, but named the same), the config file is:
/var/lib/openhab2/etc/org.ops4j.pax.logging.cfg
Just be aware that there are two lines in the file per log entry.