summaryrefslogtreecommitdiffstats
path: root/newton/newton/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'newton/newton/settings.py')
-rw-r--r--newton/newton/settings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/newton/newton/settings.py b/newton/newton/settings.py
index 4b08d2a6..aafcfbbc 100644
--- a/newton/newton/settings.py
+++ b/newton/newton/settings.py
@@ -98,7 +98,7 @@ LOGGING = {
'newton_handler': {
'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler',
- 'filename': os.path.join(BASE_DIR, 'logs/runtime_newton.log'),
+ 'filename': '/var/log/onap/multicloud/openstack/newton/newton.log',
'formatter': 'standard',
'maxBytes': 1024 * 1024 * 50,
'backupCount': 5,
@@ -149,6 +149,7 @@ MULTIVIM_VERSION = "multicloud-" + OPENSTACK_VERSION
if 'test' in sys.argv:
+ LOGGING['handlers']['newton_handler']['filename'] = 'logs/newton.log'
REST_FRAMEWORK = {}
import platform