With errors.log.enable=true in Kafka Connect - where are logs located?

When using a connector and configure:

errors.log.enable = true

where can i see the logs?

Hello Asaf_Gur_arie,

When you enable this configuration, the log file is located within the Kafka Connect worker’s log directory. But be cautious, as if there are lot of records causing errors, it will occupy a lot of space and may be difficult to find the problem.

is there a way to limit the amount of the data that save into the error log ? or is there a better way?