fixed logging deprecation warning

also, ident normalization