@ -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(