Initial version of logging engine