Skip to content

Commit

Permalink
Don't log the response of the files controllers.
Browse files Browse the repository at this point in the history
Those responses can contain a lot of data and file controller response contains
binary data.
  • Loading branch information
Kami committed Feb 9, 2016
1 parent 72acdc3 commit 8d5ecec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion st2common/st2common/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
RESPONSE_LOGGING_CONTROLLER_NAME_BLACKLIST = [
'ActionExecutionChildrenController', # action executions can be big
'ActionExecutionAttributeController', # result can be big
'ActionExecutionsController' # action executions can be big
'ActionExecutionsController' # action executions can be big,
'FilesController', # files controller returns files content
'FileController' # file controller returns binary file data
]


Expand Down

0 comments on commit 8d5ecec

Please sign in to comment.