bugfix in logging: improper string formatting