Log messages for troubleshooting

Log messages provide useful information for troubleshooting.