Fixed logging
Fixed logging for process.py