diff --git a/src/ExtendedMonolog/LogDirectoryHandler.php b/src/ExtendedMonolog/LogDirectoryHandler.php index cbf13b3..2c2722f 100644 --- a/src/ExtendedMonolog/LogDirectoryHandler.php +++ b/src/ExtendedMonolog/LogDirectoryHandler.php @@ -26,7 +26,7 @@ class LogDirectoryHandler extends StreamHandler { * @throws Throwable If an error occurs */ public function __construct (string $dirPath, int $historyNumberOfDays = 30) { - $dirPath = realpath($dirPath) . DIRECTORY_SEPARATOR; + $dirPath = $dirPath . DIRECTORY_SEPARATOR; $this->normalizeDirectory($dirPath, $historyNumberOfDays); parent::__construct(