what is the proper method to log from the write co...
# replication-ask-ai
a
what is the proper method to log from the write command of a python destination connector?
k
When implementing the
write
command of a Python destination connector, all logging should be done through the
self.logger
object available in the
Destination
class. This ensures that logs will be displayed correctly in the Airbyte UI. Here is an example of how you might use it:
Copy code
python <http://self.logger.info|self.logger.info>("Begin writing to the destination...")
For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/connector-development/tutorials/building-a-python-destination).