* logging: fix coding style issues in _output_buf() * tests/logging: also test printing the filename information * tests/logging: ensure both stream and wqueue modes are tested