Issue #107: Add logging messages for debugging