Added Logging feature to the Bot