[Argha] added logging + flag used in registration.