Understanding BAM logging and troubleshooting methodologies