Added a few comments and removed redundant timestamp when printing log events.