adding real logging facility and exception passthrough for the data collection functions