Commit 4250ba92 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Try info

parent 8e7be068
Pipeline #34062 passed with stages
in 2 minutes and 11 seconds
......@@ -23,6 +23,8 @@ import json
import traceback
from requests.auth import HTTPBasicAuth
app.logger.info('Initialize institution update endpoint.')
class UpdateInstitution(Resource):
......
......@@ -25,6 +25,8 @@ import traceback
from kafka.errors import KafkaTimeoutError
from requests.auth import HTTPBasicAuth
app.logger.info('Initialize record set update endpoint.')
class UpdateRecordSet(Resource):
......
......@@ -22,6 +22,8 @@ from import_api_app.app import app
from import_api_app.helpers.error import ImportApiError
from requests.auth import HTTPBasicAuth
app.logger.info('Initialize documents-import report writer.')
class WriteJobResultToDrupal(Resource):
......
......@@ -20,6 +20,8 @@ from import_api_app.app import app
from import_api_app.helpers.error import ImportApiError
from requests.auth import HTTPBasicAuth
app.logger.info('Initialize group report writer.')
class WriteTypeReportToDrupal(Resource):
......
......@@ -145,6 +145,8 @@ api.add_resource(
)
api.add_resource(ClearCache, '/v1/drupal/clearcache')
app.logger.info('Initialized API Resources.')
# If app is started with Flask
if __name__ == '__main__':
logging.basicConfig(format='%(levelname)-8s [%(filename)s:%(lineno)d] %(message)s')
......
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