Add log messages for debugging