complete logging