Integrated logging