diff --git a/lib/SimpleSAML/Logger.php b/lib/SimpleSAML/Logger.php index 4a66f47f50efc0645be7d24f2570cacdab0b0ca8..6aaadc73f166210ca9942ae4cba8b023798c82bc 100644 --- a/lib/SimpleSAML/Logger.php +++ b/lib/SimpleSAML/Logger.php @@ -213,44 +213,3 @@ class SimpleSAML_Logger { return self::$trackid; } } - - - /* -class SimpleSAML_Logger { - - - private $configuration = null; - private $loglevel = LOG_NOTICE; - - public function __construct() { - - $this->configuration = SimpleSAML_Configuration::getInstance(); - $this->loglevel = $this->configuration->getValue('logging.level'); - - define_syslog_variables(); - openlog("simpleSAMLphp", LOG_PID, $this->configuration->getValue('logging.facility') ); - - } - public function log($priority, $trackid = null, $module, $submodule, $eventtype, $content, $message) { - - if ($priority > $this->loglevel) return; - if ($trackid == null) { - $trackid = 'na'; - } - - $contentstring = ''; - if (is_array($content)) { - $contentstring = implode('|', $content); - } else { - $contentstring = $content; - } - - $logstring = implode(',', array($priority, $trackid, $module, $submodule, $eventtype, $contentstring, $message)); - syslog($priority, " OLD ".$logstring); - - } -} -*/ - - -?> \ No newline at end of file