diff --git a/lib/SimpleSAML/Logger/LoggingHandlerFile.php b/lib/SimpleSAML/Logger/LoggingHandlerFile.php
index b09993cca7dd3fad170df4d53c38c9ec64cd9e87..8bb64dec1804a6508488dedef986e08f083d34ef 100644
--- a/lib/SimpleSAML/Logger/LoggingHandlerFile.php
+++ b/lib/SimpleSAML/Logger/LoggingHandlerFile.php
@@ -11,6 +11,14 @@
 
 class SimpleSAML_Logger_LoggingHandlerFile implements SimpleSAML_Logger_LoggingHandler
 {
+
+    /**
+     * A string with the path to the file where we should log our messages.
+     *
+     * @var null|string
+     */
+    protected $logFile = NULL;
+
     /**
      * This array contains the mappings from syslog loglevel to names. Copied
      * more or less directly from SimpleSAML_Logger_LoggingHandlerErrorLog.
@@ -25,7 +33,6 @@ class SimpleSAML_Logger_LoggingHandlerFile implements SimpleSAML_Logger_LoggingH
         SimpleSAML\Logger::INFO    => 'INFO',
         SimpleSAML\Logger::DEBUG   => 'DEBUG',
     );
-    private $logFile = NULL;
     private $processname = NULL;
     private $format;