Initial version of logging done