Skip to content

Commit 4bfd79e

Browse files
committed
Avoid duplicate logging.
1 parent c39d72f commit 4bfd79e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

debian/postinst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ EOF
4040

4141
msg "Checking log files"
4242
mkdir -p /var/log/linuxmuster/api
43-
if [ ! -f "/etc/linuxmuster/api/uvicorn_log_conf.yml" ] ; then
44-
cp /usr/lib/python3/dist-packages/linuxmusterApi/templates/uvicorn_log_conf.yml /etc/linuxmuster/api/uvicorn_log_conf.yml
45-
fi
43+
cp /usr/lib/python3/dist-packages/linuxmusterApi/templates/uvicorn_log_conf.yml /etc/linuxmuster/api/uvicorn_log_conf.yml
4644

4745
msg "Checking certificate"
4846
if [ ! -f "/etc/linuxmuster/api/lmnapi.pem" ] ; then

usr/lib/python3/dist-packages/linuxmusterApi/templates/uvicorn_log_conf.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ loggers:
3333
root:
3434
level: DEBUG
3535
handlers:
36-
- default
3736
- filelog
3837
propagate: no
3938

0 commit comments

Comments
 (0)