better log integration