Add code chunks for research on logging behavior. (commented out)