not running python script in the background to get logging