Fix logging output
Fix linter warning