are airbyte logs deleted after a certain point aut...
# replication-ask-ai
n
are airbyte logs deleted after a certain point automatically? Or does it keep taking the disc space unless manually deleted?
k
A message from kapa.ai
Yes, Airbyte logs can be automatically deleted after a certain point. As of version 0.40.5, Airbyte cleans up files from the workspace by default every 30 days. You can configure this retention period by setting the environment variable
TEMPORAL_HISTORY_RETENTION_IN_DAYS
to the desired number of days ([source](https://discuss.airbyte.io/t/2714)). For example, to retain logs for only 1 day, you can set:
Copy code
TEMPORAL_HISTORY_RETENTION_IN_DAYS=1
Keep in mind that this configuration is for Airbyte's workspace logs. If you're using cloud logging, you might need to configure log retention separately for your cloud storage provider (e.g., S3, GCS, etc.).
n
@kapa.ai How will I automatically clear logs after the logs take a certain amount of space
k
A message from kapa.ai
New message text here
👍 1