Fix log level bug - 'log' messages should be written at 'info' level

Prior to this bug fix, 'log' messages had a lower precedence than even 'debug' messages. They were written only at the 'all' log level.

This change fixes the bug and introduces further tests to avoid future regressions.