modified logging output