register logging 2