Hello.
I have a problem. Our event log files are reaching several GB and grows fast.
I have noticed that a lot of events are from Background Jobs. We have background Job which is checking for new documents every minute and performs some actions when finds something new. Most of the time it is doing nothing, just checking for new records.
But it generates a lot of event logs. I do not want to disable event logs for user access or for object changing. Just for this particular Background Job.
So I am searching how to disable records for this particular event (all records, Start, Finish, Authentication etc..)
There is method SetEventLogEventUse(), but I can not figure out how to pass parameters to use it correctly. Syntax assistant does not help much.
Could you please be so kind and provide code sample? (consider that the name of background job is "BackJob1")
Thank you in advance.
Also. Is there any way to store event logs on a separate server? We have fast SSDs for the database and slow HDDs for 1c installation. But logs are written at the installation disk. So I am wondering if a lot of logs could badly affect app performance. If we have, for example, 100 event logs a second, we are reaching HDD IOPS.
Is there any way to pass logs to elasticSearch?
The 1C:Enterprise developers forum