Commit 0267e576 authored by Pablo Panero's avatar Pablo Panero
Browse files

Add logging to sentry

parent 49cb917d
......@@ -8,6 +8,7 @@ invenio-config>=1.0.0,<1.2.0
invenio-db[postgresql,versioning]>=1.0.0,<1.2.0
invenio-indexer[elasticsearch5]>=1.0.0,<1.2.0
invenio-jsonschemas>=1.0.0,<1.2.0
invenio-logging>=1.0.0,<1.1.0
invenio-records-rest[elasticsearch5]>=1.1.1,<1.2.0
invenio-records[postgresql]>=1.0.0,<1.2.0
invenio-rest[cors]>=1.0.0,<1.2.0
......@@ -16,5 +17,6 @@ invenio_oauth2server>=1.0.0,<1.2.0
invenio-search[elasticsearch5]>=1.0.0,<1.2.0
invenio-theme>=1.0.0,<1.2.0
npm>=0.1.1
raven>=6.9.0,<6.10.0
redis>=2.10.0
uWSGI>=2.0.16
\ No newline at end of file
......@@ -50,6 +50,7 @@ install_requires = [
'invenio-db[postgresql,versioning]>=1.0.2,<1.2.0',
'invenio-indexer[elasticsearch5]>=1.0.0,<1.2.0',
'invenio-jsonschemas>=1.0.0,<1.2.0',
'invenio-logging>=1.0.0,<1.1.0',
'invenio-records-rest[elasticsearch5]>=1.1.1,<1.2.0',
'invenio-records[postgresql]>=1.0.0,<1.2.0',
'invenio-rest[cors]>=1.0.0,<1.2.0',
......@@ -57,6 +58,7 @@ install_requires = [
'invenio_oauth2server>=1.0.0,<1.2.0',
'invenio-search[elasticsearch5]>=1.0.0,<1.2.0',
'invenio-theme>=1.0.0,<1.2.0',
'raven>=6.9.0,<6.10.0'
'redis>=2.10.0',
'npm>=0.1.1',
'uWSGI>=2.0.16',
......
......@@ -74,6 +74,11 @@ objects:
secretKeyRef:
name: oauth
key: oauth_credentials
- name: INDEXER_SENTRY_DSN
valueFrom:
secretKeyRef:
name: sentry
key: dsn
image: gitlab-registry.cern.ch/webservices/cern-search/cern-search-rest-api:latest
imagePullPolicy: Always
name: cern-search-rest-api
......@@ -319,6 +324,8 @@ objects:
data:
# Invenio
INVENIO_INSTANCE_PATH: ${INSTANCE_PATH}
# Invenio Logging
INVENIO_LOGGING_SENTRY_LEVEL: ${LOGGING_LEVEL}
# App to allow hosts
INVENIO_APP_ALLOWED_HOSTS: ${ALLOWED_HOSTS}
# Invenio Theme
......@@ -363,3 +370,6 @@ parameters:
- name: ADMIN_UI_ACCESS_LIST
description: "List of comma separated egroups that have access to the ADMIN UI (e.g. 'egroup_one,egroup_two')"
value: "CernSearch-Administrators@cern.ch"
- name: LOGGING_LEVEL
description: "Logging level of the application"
value: 'WARNING'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment