added messageLogger reporting every 10000 events