Skip to content

Commit

Permalink
Merge pull request #48 from tsvenkat/master
Browse files Browse the repository at this point in the history
Adding sensitive OpenStack log fields to skip_list
  • Loading branch information
vklochan authored Aug 17, 2016
2 parents ffba3b6 + 17d96ad commit a8be251
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ http://logstash.net/

Changelog
=========
0.4.7
- Add couple of sensitive fields to the skip_list
0.4.6
- Updated field names to match java counterparts supported by logstash crew
0.4.5
Expand Down
3 changes: 2 additions & 1 deletion logstash/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def get_extra_fields(self, record):
'args', 'asctime', 'created', 'exc_info', 'exc_text', 'filename',
'funcName', 'id', 'levelname', 'levelno', 'lineno', 'module',
'msecs', 'msecs', 'message', 'msg', 'name', 'pathname', 'process',
'processName', 'relativeCreated', 'thread', 'threadName', 'extra')
'processName', 'relativeCreated', 'thread', 'threadName', 'extra',
'auth_token', 'password')

if sys.version_info < (3, 0):
easy_types = (basestring, bool, dict, float, int, long, list, type(None))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
setup(
name='python-logstash',
packages=['logstash'],
version='0.4.6',
version='0.4.7',
description='Python logging handler for Logstash.',
long_description=open('README.rst').read(),
license='MIT',
Expand Down

0 comments on commit a8be251

Please sign in to comment.