In the attached patch I've attempted to clean up the log levels used a
little bit. I am not saying these are all the changes that could/should
be done but we can start with this patch. So please review only these
changes for now and additional changes can be done in further patches.
I tried to follow the MWG - memory allocation errors should be LOG_CRIT
and errors induced by the authenticating user should be LOG_NOTICE. For
the rest I just tried to somehow make them more reasonable. Mostly I am
lowering the level but there are some cases where the level is raised
too.
It also addresses
the https://fedorahosted.org/linux-pam/ticket/63
Please review,
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
(You'll never know whether the road is wrong though.)