fix formatting of logging