diff --git a/lib/SimpleSAML/Logger/LoggingHandlerFile.php b/lib/SimpleSAML/Logger/LoggingHandlerFile.php index 72838fe30d05e95a6ce78720db723ad342d5ef6b..77efe22444a4e97d9e232ab9ee41f6d7dd73d022 100644 --- a/lib/SimpleSAML/Logger/LoggingHandlerFile.php +++ b/lib/SimpleSAML/Logger/LoggingHandlerFile.php @@ -32,8 +32,8 @@ class SimpleSAML_Logger_LoggingHandlerFile implements SimpleSAML_Logger_LoggingH SimpleSAML\Logger::INFO => 'INFO', SimpleSAML\Logger::DEBUG => 'DEBUG', ); - private $processname = null; - private $format; + protected $processname = null; + protected $format; /** diff --git a/lib/SimpleSAML/Logger/StandardError.php b/lib/SimpleSAML/Logger/StandardError.php index 62eb8acc890cb7cb4df8a31ce1b0e452e53ee8ba..f6d07088cc5930e180e0083241144257645f77d1 100644 --- a/lib/SimpleSAML/Logger/StandardError.php +++ b/lib/SimpleSAML/Logger/StandardError.php @@ -18,7 +18,8 @@ class StandardError extends \SimpleSAML_Logger_LoggingHandlerFile */ public function __construct() { - parent::__construct(); + $config = \SimpleSAML_Configuration::getInstance(); + $this->processname = $config->getString('logging.processname', 'SimpleSAMLphp'); $this->logFile = 'php://stderr'; } }