mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
Fixed server.log created in two different places on path changed
This commit is contained in:
parent
b6c0eb8c96
commit
2f6007342c
@ -45,7 +45,7 @@ class MainLogger extends \AttachableThreadedLogger{
|
|||||||
throw new \RuntimeException("MainLogger has been already created");
|
throw new \RuntimeException("MainLogger has been already created");
|
||||||
}
|
}
|
||||||
static::$logger = $this;
|
static::$logger = $this;
|
||||||
touch(basename($logFile));
|
touch($logFile);
|
||||||
$this->logFile = $logFile;
|
$this->logFile = $logFile;
|
||||||
$this->hasANSI = (bool) $hasANSI;
|
$this->hasANSI = (bool) $hasANSI;
|
||||||
$this->logDebug = (bool) $logDebug;
|
$this->logDebug = (bool) $logDebug;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user