Adding basic logging facility for operations -- to be refactored later