Fix logs format.
Fix logging level selection.