aboutsummaryrefslogtreecommitdiffstats
path: root/pylog/onaplogging
AgeCommit message (Collapse)AuthorFilesLines
2019-06-26pylog is not compatible with python3maopengzhang1-2/+2
fix mdcContext bugs Change-Id: I29117652382e15e5eec2cf0cb91c573beed4526e Issue-ID: LOG-1072 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
2019-02-13upgrade pylog versionliangke10-21/+19
upgrade latest version of pylog to 1.0.7 fix pep8 error use relative imports Change-Id: I705756b0778f89fbce62559ea0f108fd35efff5e Issue-ID: MULTICLOUD-481 Signed-off-by: liangke <lokyse@163.com>
2018-09-11Enable colored output for loggingLOG-380-sharedliangke4-30/+170
ColorFormatter class uses ANSI esacpe sequences to render logging message in color, it uses standard colors so it should workd on any UNIX terminal. Make markerFormatter class to inherits from colorFormatter. Change-Id: Ie24a06df861ca5d07796e78dea7e875daf149380 Issue-ID: MULTICLOUD-329 Signed-off-by: liangke <lokyse@163.com>
2018-09-06Support Marker in python loggingliangke12-42/+540
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-09-05Python3 compatibleliangke2-15/+78
Upgrade code compatibly with python-3.x Change-Id: I04f2e7a92d21f161a2e4cc904743043394616145 Issue-ID: MULTICLOUD-327 Signed-off-by: liangke <lokyse@163.com>
2018-03-19 Fix some issuesliangke2-8/+8
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 codeliangke5-0/+422
Change-Id: I4c039a667d7b8c7a257b2d50f94370785100a968 Issue-ID: MULTICLOUD-151 Issue-ID: LOG-161 Signed-off-by: liangke <lokyse@163.com>