How to implement SysLog in cakephp 3

Hi
I need to use syslog in production environment. what i have to do to enable this feature in cakephp 3.x?

But now i have used normal file log and write arl error in the error.log file. This is configured like this what i am giving in following

‘Log’ => [
‘debug’ => [
‘className’ => ‘Cake\Log\Engine\FileLog’,
‘path’ => LOGS,
‘file’ => ‘debug’,
‘levels’ => [‘notice’, ‘info’, ‘debug’],
],
‘error’ => [
‘className’ => ‘Cake\Log\Engine\FileLog’,
‘path’ => LOGS,
‘file’ => ‘error’,
‘levels’ => [‘warning’, ‘error’, ‘critical’, ‘alert’, ‘emergency’],
],
],

would i have to delete this code if i want to implement syslog or anything else? please advice me.

Got solution like that

To enable the syslog past the following code in the config/app.php file

‘Log’ => [ ‘error’ => [ ‘engine’ => ‘Syslog’, ‘levels’ => [‘emergency’, ‘alert’, ‘critical’, ‘error’], ‘format’ => “%s: My-App - %s”, ‘prefix’ => ‘Web Server 01’, ] ],

remember comments the normal error configurations as well. you can use log function to write error.