Skip to content

Commit 99d7417

Browse files
authored
Merge branch 'master' into quart-framework-support
2 parents 096cf88 + 73de414 commit 99d7417

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
77
## [Unreleased]
88
- Introduced sap namespace
99

10+
## 0.0.2 - 2017-12-24
1011

11-
## 1.0.0 - 2017-12-24
12+
### Changed
13+
- fixed https://github.com/thangbn/json-logging-python/pull/2
14+
15+
## 0.0.1 - 2017-12-24
1216

1317
### Changed
1418
- Initial release

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,9 @@ https://docs.python.org/2/library/logging.html#logging.Logger.propagate
301301
## [3] more on flask use_reloader
302302
http://flask.pocoo.org/docs/0.12/errorhandling/#working-with-debuggers
303303

304-
# Development
304+
# Development
305+
create file **.pypirc**
306+
305307
```
306308
[distutils]
307309
index-servers =
@@ -320,12 +322,20 @@ password=
320322
```
321323
pypitest
322324
```
325+
python setup.py bdist_wheel
326+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
327+
python -m pip install --index-url https://test.pypi.org/simple/ json_logging
328+
329+
323330
python setup.py sdist upload -r pypitest
324331
python setup.py bdist_wheel --universal upload -r pypitest
325332
pip3 install json_logging --index-url https://test.pypi.org/simple/
326333
```
327334
pypi
328335
```
336+
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
337+
338+
329339
python setup.py sdist upload -r pypi
330340
python3 setup.py bdist_wheel --universal upload -r pypi
331341
pip3 install json_logging

json_logging/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def format(self, record):
236236
"logger": record.name,
237237
"thread": record.threadName,
238238
"level": record.levelname,
239+
"module": record.module,
239240
"line_no": record.lineno,
240241
"msg": record.getMessage()
241242
}
@@ -262,6 +263,7 @@ def format(self, record):
262263
"logger": record.name,
263264
"thread": record.threadName,
264265
"level": record.levelname,
266+
"module": record.module,
265267
"line_no": record.lineno,
266268
"correlation_id": _request_util.get_correlation_id(),
267269
"msg": record.getMessage()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="json-logging",
15-
version='0.0.7',
15+
version='0.0.9',
1616
packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'example', 'dist', 'build']),
1717
license='Apache License 2.0',
1818
description="JSON Python Logging",

0 commit comments

Comments
 (0)