Added initial logging feature