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:
@@ -35,7 +35,7 @@
|
||||
state: directory
|
||||
owner: 33
|
||||
group: 33
|
||||
mode: '0744'
|
||||
mode: '0774'
|
||||
|
||||
- name: Install traefik
|
||||
ansible.builtin.include_tasks: traefik.yml
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user