Commit 2b7d0d1d authored by Ludovic Ganée's avatar Ludovic Ganée

chemin des logs configurable via App.paths.logs

parent 1811e00c
Pipeline #8628 failed with stage
in 15 seconds
......@@ -167,7 +167,8 @@ class WorkerShell extends Shell
'pid' => getmypid(),
'last_launch' => new \Cake\I18n\Time,
'hostname' => $hostname,
'logfile' => $this->param('log-file') ?: LOGS.'worker_'.$tube.'.log',
'logfile' => $this->param('log-file')
?: Configure::read('App.paths.logs', LOGS).'worker_'.$tube.'.log',
];
$this->workerEntity = $BeanstalkWorkers->newEntity($data);
$BeanstalkWorkers->saveOrFail($this->workerEntity);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment