remove 'PHP_EOL' from log message