[Pcsclite-git-commit] [PCSC] 02/02: DebugLogSetLevel: PCSC_LOG_INFO is "info"

Ludovic Rousseau rousseau at moszumanska.debian.org
Tue Jun 6 16:00:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository PCSC.

commit 251771ad2c6278f460a995fb07ee02281930f987
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Tue Jun 6 17:53:52 2017 +0200

    DebugLogSetLevel: PCSC_LOG_INFO is "info"
    
    Level name "notice" was used for PCSC_LOG_INFO. We now use the label
    "info".
---
 src/debuglog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/debuglog.c b/src/debuglog.c
index 8c65e91..5b54789 100644
--- a/src/debuglog.c
+++ b/src/debuglog.c
@@ -282,7 +282,7 @@ void DebugLogSetLevel(const int level)
 			break;
 
 		case PCSC_LOG_INFO:
-			Log1(PCSC_LOG_INFO, "debug level=notice");
+			Log1(PCSC_LOG_INFO, "debug level=info");
 			break;
 
 		case PCSC_LOG_DEBUG:
@@ -291,7 +291,7 @@ void DebugLogSetLevel(const int level)
 
 		default:
 			LogLevel = PCSC_LOG_INFO;
-			Log2(PCSC_LOG_CRITICAL, "unknown level (%d), using level=notice",
+			Log2(PCSC_LOG_CRITICAL, "unknown level (%d), using level=info",
 				level);
 	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git



More information about the Pcsclite-cvs-commit mailing list