setting up logging class to autosummarise