Fixed logging format problem