mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
add dedicated log dir for raspisms
This commit is contained in:
parent
ca9397b62d
commit
1be127e260
7 changed files with 26 additions and 8 deletions
|
@ -40,7 +40,7 @@ class Phone extends AbstractDaemon
|
|||
|
||||
$name = 'RaspiSMS Daemon Phone ' . $this->phone['id'];
|
||||
$logger = new Logger($name);
|
||||
$logger->pushHandler(new StreamHandler(PWD_LOGS . '/raspisms.log', Logger::DEBUG));
|
||||
$logger->pushHandler(new StreamHandler(PWD_LOGS . '/daemons.log', Logger::DEBUG));
|
||||
$pid_dir = PWD_PID;
|
||||
$no_parent = false; //Phone should be rattach to manager, so manager can stop him easily
|
||||
$additional_signals = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue