added %c/%C format specifications for snmptrapd logging