Please use this code snippet to disable all logging operations:
By default, threads are used by the Handler to send and receive ETI messages and they can be executed on any of available processors/cores. Specifying CPU affinity for each session thread may give a significant performance boost.
Please use this code snippet to set processor affinity mask for sending and receiving threads.