If you mean event logging, this is a normal part of Windows' operation. It
is not meant to be turned off. Even web servers handling thousands of
transactions a second for weeks on end, alway srun with event logging
enabled. Event logging is an extremely efficient mechanism with very little
performance or resource overhead (ie negligible). Turning it off may cause
strange errors, because many things assume the service is there and running.
If you want to turn offf logging to improve performance, you would need to
look elsewhere for the performance bottleneck.