logging category correctly