Fixed logging syntax