detailed logging for diagnostics