Formatting Log Messages nlsr.c