#Log retention self hosted

1 messages · Page 1 of 1 (latest)

mild grottoBOT
#

Hi @clear salmon. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I'm sorry, but the knowledge sources do not provide explicit information about configuring log retention duration (such as retaining only 1 day of logs) in self-hosted Convex. The available documentation describes how logs are visible in the dashboard and how to set up log streams to external providers (like Axiom or Datadog) for more advanced retention and querying, but it does not mention any built-in configuration for log retention period in the self-hosted backend itself.

If you need fine-grained control over log retention (e.g., keeping only 1 day of logs), you may need to set up log streaming to an external service and configure retention there, or implement your own log rotation/cleanup mechanism at the storage or infrastructure level. For more details on log streaming, see the Log Streams documentation and common uses.

If you need further assistance, you might consider reaching out to the Convex community in the #self-hosted Discord channel for advice or updates on this feature.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@clear salmon Kapa.ai is still learning and improving, please let me know how I did by reacting below.

clear salmon
#

@mild grotto if i setup log stream, would it then not take space in my vps

mild grottoBOT
#

Let me check the knowledge base for you again. One moment! :books:

#

If you set up a log stream in Convex, logs are streamed out to external destinations like Axiom, Datadog, or a custom webhook. The documentation does not specify whether enabling log streams will automatically prevent logs from being stored locally on your VPS in a self-hosted setup. It only describes that log streams enable sending logs to third-party services for historical storage, querying, and visualization, but does not mention disabling or cleaning up local log storage as a result of enabling log streams Log Streams.

Therefore, based on the available information, setting up a log stream does not guarantee that logs will not take up space on your VPS. You may still need to manage local log retention or cleanup separately in your self-hosted environment.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@clear salmon Kapa.ai is still learning and improving, please let me know how I did by reacting below.

clear salmon
#

@mild grotto is log stream available for self hosted convex

mild grottoBOT
#

Let me check the knowledge base for you again. One moment! :books:

#

I'm sorry, but the knowledge sources do not contain information about whether log streams are available for self-hosted Convex. All references to log streams discuss their use in the context of the cloud-hosted Convex Pro plan, and there is no explicit mention of log stream support or configuration for self-hosted deployments in the provided documentation.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: