Fixed order of which log is initialised and set the context #5