aboutsummaryrefslogtreecommitdiffstats
path: root/pylog
AgeCommit message (Collapse)AuthorFilesLines
2020-09-07onaplogging: Docstrings, refactor, type hintingEli Halych23-451/+1432
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
2020-08-05Run pylog tests using Python 3.8Michal Jagiello1-11/+3
Edit tox configuration to run tests in Python 3.6, Python 3.7 and Python 3.8 Issue-ID: LOG-1233 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I29bb0e1075ae79d927369cf19d568d6c5ceb439b
2020-07-17update snapshotSmokowski, Kevin (ks6305)2-2/+2
1.6.7.-SNAPSHOT to 1.6.8-SNAPSHOT Issue-ID: LOG-1232 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2814499babbd482e02d44480528d6d91a0e2511a
2020-07-13Pylog test suiteMichal Jagiello17-45/+990
Prepare test suite for onaplogging library. Add utils to check Python version. Issue-ID: LOG-1229 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I12c431c10f61fceaf70d5ae36581dfd5a876ef72
2020-03-19Update to 1.6.7-SNAPSHOTBrittany Plummer (bp896r)3-3/+3
Issue-ID: LOG-1211 Change-Id: I8ea37ba940a94dd1289de3eb758c7078d63e7d2a Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2020-02-26Moving to next Snapshot 1.6.6-SNAPSHOTSingal, Kapil (ks220y)3-3/+3
Issue-ID: LOG-1206 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Icc14110104b2b3e93da170ec7c203137efdf4fb4
2020-02-26Prepare for release 1.6.5Singal, Kapil (ks220y)1-1/+1
Issue-ID: LOG-1206 Change-Id: Iede3ac7cc8b8e90aa14e96f313c655c0f5fe03fb Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2020-02-21Changing version in setup.pySingal, Kapil (ks220y)1-1/+1
version in setup.py should be in sync with project.version in pom Issue-ID: LOG-1203 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Idb4c18c612f1ef46a257871a3fafccb142373e95
2020-02-14Moving to next SNAPSHOT versionSingal, Kapil (ks220y)2-2/+2
1.6.5-SNAPSHOT Issue-ID: LOG-1201 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I081e1166ce8ce85832e34053639f785693e07883
2020-02-13Refactoring POM's and .gitignoreSingal, Kapil (ks220y)1-6/+4
Removing IDE generated files Issue-ID: LOG-1200 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ie9182553ae5ea3ee1c852049678c92860a7eedb0
2020-02-13Fix tox.iniAric Gardner2-4/+16
python2 is EOL Issue-ID: CIMAN-33 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I547cb9ca20ae8befe144528dc9270f1fc9cf4d14
2020-02-10synch version to 1.6.4-SNAPSHOTSingal, Kapil (ks220y)2-3/+3
Issue-ID: LOG-1198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I3d0f9055ba65e2f84a6b95bdd7fea3111052c6c2
2020-01-13pom changesSmokowski, Kevin (ks6305)1-4/+6
centralize maven compiler plugin config and organize poms Issue-ID: LOG-1193 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I8e6526f5709ea5773dd3214adddda15614daaff5
2020-01-01Changing delete commandSINGAL, KAPIL (ks220y)1-1/+1
-delete is causing exit 1 with error "No such file or directory." As it trying to delete files from ./.tox/* path. Adding -not -path "./.tox" to exclude path. Issue-ID: LOG-1173 Signed-off-by: SINGAL, KAPIL (ks220y) <ks220y@att.com> Change-Id: Ic04d5c660e5c2ba81f3d2a2f6646bf65782a8a7a
2019-10-23version updatesSmokowski, Kevin (ks6305)1-1/+1
setup for 1.6.1-SNAPSHOT Issue-ID: LOG-1177 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I520e5cf5e4b17913db34aa60be31ddbd10c0b753
2019-10-23Fixing version in pylog pomSingal, Kapil (ks220y)1-3/+3
Changing version from 1.5.1 to 1.6.0 in logging-pylog pom Issue-ID: LOG-1175 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I5f86ecf00e0f44bf2b613026a2159ec5436be65e
2019-10-03Update version to 1.5.1Prudence Au1-1/+1
Issue-ID: LOG-1149 Signed-off-by: Prudece Au <prudence.au@amdocs.com> Change-Id: I1221a97ac503e25371cdcc072dddf4d85ae22eca
2019-09-13Try to fix tox error from Jenkins due to Python version upgradePrudence Au1-6/+1
Issue-ID: LOG-1131 Signed-off-by: Prudence Au <prudence.au@amdocs.com> Change-Id: Idabf1070c763585cd4507afd4216c07dad294465
2019-08-08The versions plugin doesn't strip off SNAPSHOT for pylogPrudence Au1-1/+1
This is the attemp to fix the build. Issue-ID: LOG-1073 Signed-off-by: Prudence Au <prudence.au@amdocs.com> Change-Id: I0ab26da4fa464f99f5b9555e9b835253c44413f0
2019-07-29Introduce 1.5.0-SNAPSHOT for El Alto releasePrudence Au1-1/+1
Issue-ID: LOG-1073 Signed-off-by: Prudence Au <prudence.au@amdocs.com> Change-Id: I37a4133c051c346c5fddcf56a96b0a90c529b92e
2019-07-11Patch #2 - release 1.4.0 of logging-analyticsPrudence Au1-1/+1
Signed-off-by: Prudence Au <prudence.au@amdocs.com> Issue-ID: LOG-1073 Change-Id: I0b65a97dd7ebe75795fcb9bb3159b7ada0ee37ea
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-05-01Update oparent versionJessica Wagantall1-1/+1
Update oparent version to 2.0.0 which supports global-jjb maven-stage job. Change-Id: I1ae3e06a8f1213afd45aa7f97dbe5f446bea787a Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-02-13upgrade pylog versionliangke11-23/+23
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-11-13use oparent 1.2.2 to fix spring 5.1.2Michael O'Brien1-2/+2
Change-Id: I2b052fdcfe1146aaaf3757334b6f5389153c2b5c Issue-ID: LOG-837 Signed-off-by: Michael O'Brien <michael@obrienlabs.org>
2018-10-11log start 1.4.0-SNAPSHOT for dublinroot2-3/+3
Change-Id: Iab181b9ccf5b57614016b527402864ef3b1672e8 Issue-ID: LOG-749 Signed-off-by: root <frank.obrien@amdocs.com>
2018-10-09prep poms for branching post releaseroot2-8/+3
Change-Id: I755a3a24521be12735929beca76dff16f9c5d043 Issue-ID: LOG-749 Signed-off-by: root <frank.obrien@amdocs.com>
2018-10-02release pom branch leaf slf4jroot1-2/+9
Change-Id: I7eda4a8fa90bec469c89b5bd6f18a76769a60e9c Issue-ID: LOG-715 Signed-off-by: root <frank.obrien@amdocs.com>
2018-09-20MIT to Apache license metadataUbuntu1-1/+1
Issue-ID: LOG-627 Change-Id: I0ffee7f730b7147467795e2143db566e5d94861d Signed-off-by: Ubuntu <frank.obrien@amdocs.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 compatibleliangke3-17/+80
Upgrade code compatibly with python-3.x Change-Id: I04f2e7a92d21f161a2e4cc904743043394616145 Issue-ID: MULTICLOUD-327 Signed-off-by: liangke <lokyse@163.com>
2018-07-26align pylog version to 1.2.2Michael O'Brien1-2/+2
Change-Id: I277c76290bdca123bf4a61c032b926b76c9ae237 Issue-ID: LOG-580 Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
2018-07-10logging library use and k8sMichael O'Brien1-2/+1
Change-Id: I264f6dd5270543a216612c50fd5806458e0e806a Issue-ID: LOG-135 Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
2018-03-19 Fix some issuesliangke4-9/+39
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 codeliangke15-0/+743
Change-Id: I4c039a667d7b8c7a257b2d50f94370785100a968 Issue-ID: MULTICLOUD-151 Issue-ID: LOG-161 Signed-off-by: liangke <lokyse@163.com>