Add 'lm' command to better manage pending log messages