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:
parent
98397ae004
commit
c248ca3edc
|
@ -29,8 +29,10 @@ ara:
|
|||
dir: /var/lib/ara
|
||||
# Path to the logging configuration
|
||||
logconfig: /etc/ara/logging.yml
|
||||
# Where logs are located
|
||||
logfile: /var/log/ara/ara.log
|
||||
# Path where logs are stored
|
||||
logdir: /var/log/ara
|
||||
# Name of the log file
|
||||
logfile: ara.log
|
||||
deployment:
|
||||
# Server (apache, embedded, nginx)
|
||||
server: embedded
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ ara.config.logfile | dirname }}/*.log {
|
||||
{{ ara.config.logdir }}/*.log {
|
||||
rotate 14
|
||||
size 10M
|
||||
missingok
|
||||
|
|
Loading…
Reference in New Issue