fixed bug in logging conf levels