diff --git a/src/Foundation/InstalledSite.php b/src/Foundation/InstalledSite.php
index b703f351f..b73f65283 100644
--- a/src/Foundation/InstalledSite.php
+++ b/src/Foundation/InstalledSite.php
@@ -174,7 +174,7 @@ class InstalledSite implements SiteInterface
     protected function registerLogger(Container $container)
     {
         $logPath = $this->paths->storage.'/logs/flarum.log';
-        $handler = new RotatingFileHandler($logPath, Logger::INFO);
+        $handler = new RotatingFileHandler($logPath, 0, Logger::INFO);
         $handler->setFormatter(new LineFormatter(null, null, true, true));
 
         $container->instance('log', new Logger('flarum', [$handler]));