Couchbase connector logs

hell dear experts,
i wonder if you can help me with this regard,
how can i set log file for the cbes connector in my systemctl?
is there any default place for its logs?

thank you very much! :slight_smile:

Hi Ehsan,

The connector’s log output is controlled by the log4j2.xml file in the config directory. To write the logs to a different location, edit that file and modify the fileName and filePattern properties.

A couple useful links:

Log4j 2 configuration reference

Elasticsearch connector logging config options

Thanks,
David