Fix the log location by using the log directory
The log file is really just the name of the log file (ara.log). By defaulting to /var/log/ara/ara.log, the name of the log file was expected to be /var/lib/ara/var/log/ara/ara.log which is funny but wrong. Fix that. Change-Id: I334ba3ec6748eeacd6a89974d0e55afd02a71e13
This commit is contained in:
@@ -29,8 +29,10 @@ ara:
|
|||||||
dir: /var/lib/ara
|
dir: /var/lib/ara
|
||||||
# Path to the logging configuration
|
# Path to the logging configuration
|
||||||
logconfig: /etc/ara/logging.yml
|
logconfig: /etc/ara/logging.yml
|
||||||
# Where logs are located
|
# Path where logs are stored
|
||||||
logfile: /var/log/ara/ara.log
|
logdir: /var/log/ara
|
||||||
|
# Name of the log file
|
||||||
|
logfile: ara.log
|
||||||
deployment:
|
deployment:
|
||||||
# Server (apache, embedded, nginx)
|
# Server (apache, embedded, nginx)
|
||||||
server: embedded
|
server: embedded
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{{ ara.config.logfile | dirname }}/*.log {
|
{{ ara.config.logdir }}/*.log {
|
||||||
rotate 14
|
rotate 14
|
||||||
size 10M
|
size 10M
|
||||||
missingok
|
missingok
|
||||||
|
Reference in New Issue
Block a user