change 'emit' to 'log'
Correct deprecation tests for messages only logged once
Log messages immediately, warn if any messages were logged