Update LoggingSample.py