From 5566ebba133949917a1528c1411a42f5844df703 Mon Sep 17 00:00:00 2001
From: Anders Lund <anders.lund@uninett.no>
Date: Thu, 25 Jun 2009 10:19:09 +0000
Subject: [PATCH] Changing some logging from info to debug level.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1542 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/XHTML/Template.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index bea72df21..2a948871b 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -401,7 +401,7 @@ class SimpleSAML_XHTML_Template {
 			throw new Exception("Inline translation should be string or array. Is " . gettype($translation) . " now!");
 		}
 		
-		SimpleSAML_Logger::info('Template: Adding inline language translation for tag [' . $tag . ']');
+		SimpleSAML_Logger::debug('Template: Adding inline language translation for tag [' . $tag . ']');
 		$this->langtext[$tag] = $translation;
 	}
 	
@@ -425,7 +425,7 @@ class SimpleSAML_XHTML_Template {
 		
 
 		$lang = $this->readDictionaryFile($filebase . $file);
-		SimpleSAML_Logger::info('Template: Merging language array. Loading [' . $file . ']');
+		SimpleSAML_Logger::debug('Template: Merging language array. Loading [' . $file . ']');
 		$this->langtext = array_merge($this->langtext, $lang);
 	}
 
@@ -439,7 +439,7 @@ class SimpleSAML_XHTML_Template {
 	private function readDictionaryFile($filename) {
 		assert('is_string($filename)');
 
-		SimpleSAML_Logger::info('Template: Reading [' . $filename . ']');
+		SimpleSAML_Logger::debug('Template: Reading [' . $filename . ']');
 
 		if (!file_exists($filename)) {
 			SimpleSAML_Logger::error($_SERVER['PHP_SELF'].' - Template: Could not find template file [' . $this->template . '] at [' . $filename . ']');
@@ -524,7 +524,7 @@ class SimpleSAML_XHTML_Template {
 
 
 		/* Not found in current theme. */
-		SimpleSAML_Logger::info($_SERVER['PHP_SELF'].' - Template: Could not find template file [' .
+		SimpleSAML_Logger::debug($_SERVER['PHP_SELF'].' - Template: Could not find template file [' .
 			$template . '] at [' . $filename . '] - now trying the base template');
 
 
@@ -553,4 +553,4 @@ class SimpleSAML_XHTML_Template {
 
 }
 
-?>
\ No newline at end of file
+?>
-- 
GitLab