finished moving logging to external file
Merge branch 'refactoring' of https://github.com/FCP-INDI/C-PAC into refactoring