private logger initialisation script that should be used by every python script