added the empty tweet checking again and modified the logger appender