Creating logging system