Basic logging into tthe DB for #131 Outputs