The logs from the clients are sent to the server, server on processing these logs sends them to the db. When there is an error during processing, these .err files appear.
You can either delete them or rename them as .tmp.dat after which they get re-processed.
Surprised to see this happening with 12.1.
If you decide to delete them, you can also create a batch script to do this periodically.