Detailed logging and exception reporting