Add logging to palin_recursive_oracle.py