Logging
This commit is contained in:
parent
ecd17dcdcb
commit
cd2600e3cc
@ -24,7 +24,7 @@ services:
|
||||
mem_reservation: 600m
|
||||
volumes:
|
||||
- '/etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg'
|
||||
# - '/var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log'
|
||||
- '/var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log'
|
||||
- '/etc/freedmr/rules.py:/opt/freedmr/rules.py'
|
||||
#Write JSON files outside of container
|
||||
- '/etc/freedmr/json/talkgroup_ids.json:/opt/freedmr/talkgroup_ids.json'
|
||||
|
@ -69,7 +69,7 @@ REPORT_CLIENTS: *
|
||||
|
||||
[LOGGER]
|
||||
LOG_FILE: freedmr.log
|
||||
LOG_HANDLERS: console-timed
|
||||
LOG_HANDLERS: file-timed
|
||||
LOG_LEVEL: INFO
|
||||
LOG_NAME: FreeDMR
|
||||
|
||||
@ -174,9 +174,9 @@ echo Set perms on config directory...
|
||||
chown -R 54000 /etc/freedmr &&
|
||||
|
||||
echo Setup logging...
|
||||
#mkdir -p /var/log/freedmr &&
|
||||
#touch /var/log/freedmr/freedmr.log &&
|
||||
#chown -R 54000 /var/log/freedmr &&
|
||||
mkdir -p /var/log/freedmr &&
|
||||
touch /var/log/freedmr/freedmr.log &&
|
||||
chown -R 54000 /var/log/freedmr &&
|
||||
mkdir -p /var/log/FreeDMRmonitor &&
|
||||
touch /var/log/FreeDMRmonitor/lastheard.log &&
|
||||
touch /var/log/FreeDMRmonitor/hbmon.log &&
|
||||
|
Loading…
Reference in New Issue
Block a user