Change to logging format