Fix logging paths and permissions for chill role configuration

Corrected log file paths in Monolog configuration and Compose file for consistency. Updated directory permissions in tasks to allow group write access. These changes improve log file organization and facilitate better collaboration.
This commit is contained in:
2025-01-13 10:52:15 +01:00
parent cc82c7b2c5
commit c572d68eb4
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
state: directory
owner: 33
group: 33
mode: '0744'
mode: '0774'
- name: Install traefik
ansible.builtin.include_tasks: traefik.yml
+1 -1
View File
@@ -29,7 +29,7 @@ services:
- env_file.env
volumes:
- './config/prod:/var/www/app/config/packages/prod:ro'
- '/var/log/chill:/var/www/app/var/logs:rw'
- '/var/log/chill:/var/www/app/var/log:rw'
- '{{ doc_storage_dir }}/{{ item['chill_environment'] }}:/var/storage:rw'
links:
- redis
+2 -2
View File
@@ -4,12 +4,12 @@ monolog:
handlers:
default_log:
type: stream
path: "%kernel.logs_dir%/%log_prefix%-privacy.log"
path: "%kernel.logs_dir%/privacy-%log_prefix%.log"
level: info
channels: ['chill']
chill_log:
type: stream
path: "%kernel.logs_dir%/%log_prefix%-default.log"
path: "%kernel.logs_dir%/default-%log_prefix%.log"
level: info
channels: ['!event', '!doctrine', '!console', '!chill']
console: