change register logging to warning