Add thread event and log warnings/errors