outrelouxheOriginal post
Rank 2: Process
Hello. I'm using appwrite 1.2.1 self-hosted and I see that there is a log file ib_logfile0 in /var/lib/docker/volumes/appwrite_appwrite-mariadb/_data folder which is taking a lot of disk space. How can I handle this ? Can I delete this file ? Is there a setting to limit the mariadb log size ?
I have the following config at the top of my docker-compose.yml :
YAML
x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m'Thank you !
Summary
Developers are concerned about the large size of the Mariadb log file ib_logfile0. They want to know if they can delete the file or limit the log size. The log size can be controlled by adding the following settings in the docker-compose.yml file:
```yaml
x-logging: &x-logging
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
```