Change logger settings to php file