initial suport for logging