Skip to content

Commit a8be251

Browse files
authored
Merge pull request #48 from tsvenkat/master
Adding sensitive OpenStack log fields to skip_list
2 parents ffba3b6 + 17d96ad commit a8be251

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ http://logstash.net/
66

77
Changelog
88
=========
9+
0.4.7
10+
- Add couple of sensitive fields to the skip_list
911
0.4.6
1012
- Updated field names to match java counterparts supported by logstash crew
1113
0.4.5

logstash/formatter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def get_extra_fields(self, record):
2727
'args', 'asctime', 'created', 'exc_info', 'exc_text', 'filename',
2828
'funcName', 'id', 'levelname', 'levelno', 'lineno', 'module',
2929
'msecs', 'msecs', 'message', 'msg', 'name', 'pathname', 'process',
30-
'processName', 'relativeCreated', 'thread', 'threadName', 'extra')
30+
'processName', 'relativeCreated', 'thread', 'threadName', 'extra',
31+
'auth_token', 'password')
3132

3233
if sys.version_info < (3, 0):
3334
easy_types = (basestring, bool, dict, float, int, long, list, type(None))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setup(
33
name='python-logstash',
44
packages=['logstash'],
5-
version='0.4.6',
5+
version='0.4.7',
66
description='Python logging handler for Logstash.',
77
long_description=open('README.rst').read(),
88
license='MIT',

0 commit comments

Comments
 (0)