Skip to content
Snippets Groups Projects
Commit 8a0387a4 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Rename the logstash user_id key to avoid filtering of entries.

parent e43ab060
No related branches found
No related tags found
1 merge request!87V0.7.5
Pipeline #68843 canceled
......@@ -536,7 +536,8 @@ class Upload(Proc):
if 'upload_id' not in kwargs:
kwargs.update(upload_id=utils.create_uuid())
kwargs.update(user_id=user.user_id)
# We are not using 'user_id' because logstash (?) will filter these entries ?!
kwargs.update(user=user.user_id)
self = super().create(**kwargs)
self._continue_with('uploading')
......@@ -647,6 +648,8 @@ class Upload(Proc):
logger = self.get_logger()
logger.info('started to re-process')
logger.error('WHAAATTT')
raise Exception('break')
# mock the steps of actual processing
self._continue_with('uploading')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment