Tries to register in the logger