Default Retention for Logs in MongoDB

What is the default retention period for logs that Pritunl stores in MongoDB (for example, collections like servers_output, logs, etc.), and can this value be changed?

For example, entries look like:

2025-09-15 08:12:31 INFO   VPN client connected: user1 10.10.0.2
2025-09-15 08:15:42 INFO   VPN client disconnected: user1 10.10.0.2
2025-09-15 09:05:11 INFO   Route added for 192.168.1.0/24

I’d like to understand how long these records are kept by default and whether the retention period can be configured.

Thanks!

The server output is set by sudo pritunl set vpn.log_lines 5000 the logs are set by sudo pritunl set app.log_limit 10000. This set the number of entries or lines of output.