summaryrefslogtreecommitdiff
path: root/libtac
diff options
context:
space:
mode:
authorjeroennijhof <jeroen@jeroennijhof.nl>2014-11-21 09:02:22 +0100
committerjeroennijhof <jeroen@jeroennijhof.nl>2014-11-21 09:02:22 +0100
commit3c9f2da3df4d32f06e580fd77f4bc3cd06342153 (patch)
treeb946ef5e664f7011e082dcf37731b8b4b7d78c85 /libtac
parent2a0436b8b02718edb813baf17ba5c52d390db0ab (diff)
parent5f9656f9ea793fa035fc130cd45f4405697eb5db (diff)
downloadpam_tacplus-3c9f2da3df4d32f06e580fd77f4bc3cd06342153.tar.gz
pam_tacplus-3c9f2da3df4d32f06e580fd77f4bc3cd06342153.zip
Merge pull request #21 from gollub/fix/reduce_log_level
Reduce loglevel for non-critical author messages
Diffstat (limited to 'libtac')
-rw-r--r--libtac/lib/author_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtac/lib/author_r.c b/libtac/lib/author_r.c
index 99998cb..ba1c6c9 100644
--- a/libtac/lib/author_r.c
+++ b/libtac/lib/author_r.c
@@ -182,7 +182,7 @@ int tac_author_read(int fd, struct areply *re) {
pktp = (u_char *) tb + TAC_AUTHOR_REPLY_FIXED_FIELDS_SIZE;
argp = pktp + (tb->arg_cnt * sizeof(u_char)) + tb->msg_len +
tb->data_len;
- TACSYSLOG((LOG_WARNING, "Args cnt %d", tb->arg_cnt));
+ TACSYSLOG((LOG_DEBUG, "Args cnt %d", tb->arg_cnt));
/* argp points to current argument string
pktp points to current argument length */
for(r=0; r < tb->arg_cnt; r++) {
@@ -211,7 +211,7 @@ int tac_author_read(int fd, struct areply *re) {
/* now buff points to attribute name,
value to the attribute value */
}
- TACSYSLOG((LOG_WARNING, "Adding buf/value pair (%s,%s)", buff, value));
+ TACSYSLOG((LOG_DEBUG, "Adding buf/value pair (%s,%s)", buff, value));
tac_add_attrib_pair(&re->attr, buff, sepchar, value);
argp += *pktp;
pktp++;