change logging level
account correctly registration: it may succeed and fail for the same
file!