aboutsummaryrefslogtreecommitdiffstats
path: root/pylog/onaplogging/logWatchDog.py
AgeCommit message (Collapse)AuthorFilesLines
2020-09-07onaplogging: Docstrings, refactor, type hintingEli Halych1-30/+101
Identify and document functionalities. Describe parameters and their types, exception descriptions and types, extensions, return types and descriptions. Preserve Python 2.7 and 3.x compatibility. Add Python 2.7 to Tox testing. Extract code to utility files. Add properties for readability and maintainability, fix naming conventions. Deprecate old methods and attributes. Issue-ID: REQ-420 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I19297e40fad743ec68aa04612ecbb11f61f2abec
2018-09-06Support Marker in python loggingliangke1-4/+5
1 Add 'Marker' feature which carry extra contextual information for loggers, can be used to mark a single log statement 2 Make MDC Formatter have "marker" label. Change-Id: I21ac547b97c49190393d57ff290dcbc3ae20da2a Issue-ID: MULTICLOUD-328 Signed-off-by: liangke <lokyse@163.com>
2018-03-19 Fix some issuesliangke1-7/+7
1 Fix pep8 issue. 2 Add version file for staging and release job. 3 Modify 'traceback.print_exc()' code without Exception object in it. Change-Id: Id6d42a1a671f9cd8fdcf266bdb8f468889681bb9 Issue-ID: MULTICLOUD-151 Issue-ID: LOG-161 Signed-off-by: liangke <lokyse@163.com>
2018-03-01 Submit python logging library seed codeliangke1-0/+95
Change-Id: I4c039a667d7b8c7a257b2d50f94370785100a968 Issue-ID: MULTICLOUD-151 Issue-ID: LOG-161 Signed-off-by: liangke <lokyse@163.com>