# Collecting OSGi logs

When an artifact is deployed, every log from its execution is collected in Log Server and accessible from the GUI.

## Before you begin

Log collection requires Talend LogServer.

## About this task

Default OSGi logs are configured in the Talend Runtime org.ops4j.pax.logging.cfg file. Log collection is enabled by default.

When recovering artifacts, every log is collected again.

To configure a custom behavior for log collection, edit the org.talend.ipaas.rt.dsrunner.cfg file in the &lt;RemoteEngineInstallationDirectory&gt;/etc directory.

## Procedure

* To disable log collection, set the value of the osgi.log.collection.enabled property to false.
* To change the Talend LogServer host and port, edit the osgi.log.collection.host and osgi.log.collection.port properties.

  The default values are localhost and 7789.
* To change the delay between Talend LogServer reconnections, edit the osgi.log.collection.reconnection.delay property.

  The default value is 10000 (ms).