Replace error logging

Gigabytes of logs per event are not really useful. Replacing the errorlog function and its calls to do single lines. We can always add more log lines as needed - it will massively outperform the Data::Dumper approach anyway.