adjust how events are published from the core and change the threshold value
logging improvements