From bfe70e3f2775a53e86868b8f3335587758bebebf Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Thu, 31 Mar 2016 14:37:15 +0200
Subject: [PATCH] Make SimpleSAML_Logger_LoggingHandlerFile::$logFile protected
 instead of private.

---
 lib/SimpleSAML/Logger/LoggingHandlerFile.php | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Logger/LoggingHandlerFile.php b/lib/SimpleSAML/Logger/LoggingHandlerFile.php
index b09993cca..8bb64dec1 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;
 
-- 
GitLab