com/pylog.git
2 years agoAdding Unit Test case 07/6207/1 1.1.3
wahidw [Thu, 3 Jun 2021 06:50:04 +0000 (06:50 +0000)]
Adding Unit Test case

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ifeb47d837ae257d607a4e191ab4490889014f793

3 years agoRelease mdclogpy 1.1.2 package 21/5321/1 cherry 1.1.2
wahidw [Fri, 11 Dec 2020 14:26:31 +0000 (14:26 +0000)]
Release mdclogpy 1.1.2 package

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I5d8c1713c3dfad27f48c1cd42317c9f244a88b98

3 years agoUpdating the pylog version in release notes 17/5317/2
wahidw [Fri, 11 Dec 2020 13:27:35 +0000 (13:27 +0000)]
Updating the pylog version in release notes

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I2cd72fffc838334c49b4af614359b5216c8a718f

3 years agoImproving UT coverage 96/5296/1
wahidw [Thu, 10 Dec 2020 12:50:33 +0000 (12:50 +0000)]
Improving UT coverage

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Iaa3eaf61600243320c93625573e53d08a9276ce9

3 years agoadded dynamic log level, reflecting from config map 27/5227/1
rangajal [Thu, 3 Dec 2020 08:32:23 +0000 (08:32 +0000)]
added dynamic log level, reflecting from config map

Change-Id: Ie31dbf4b4e7d2810457634e80b6d7bde585be7fd
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
3 years agoAdding Documentation to pylog 88/5188/1
wahidw [Fri, 27 Nov 2020 18:31:21 +0000 (18:31 +0000)]
Adding Documentation to pylog

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ifc8d61e919d1f722bb9802e32f623777d68f5170

3 years agoProcess ID missing in MDC Log format 51/5151/1
wahidw [Wed, 25 Nov 2020 07:57:48 +0000 (07:57 +0000)]
Process ID missing in MDC Log format

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Id895eebcc05b29bc9c6eff9773678f0317f3573c

3 years agoAdd log formatting option and dynamic Log-Level change Implement MDC Log entry format... 69/4969/2
wahidw [Tue, 3 Nov 2020 06:08:24 +0000 (06:08 +0000)]
Add log formatting option and dynamic Log-Level change Implement MDC Log entry formatting options via environment variables and implement dynamic Log-Level change what makes possible to change the log level of a running process in a Docker container.

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ia8efeb03ff8ac8a58ff2aacfd95f181f2b2f3555

3 years agoDocumentation for pylog 53/4653/1
wahidw [Mon, 31 Aug 2020 17:47:05 +0000 (23:17 +0530)]
Documentation for pylog

Change-Id: I43f8fb04298a1e1936378496978f721aca630750
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
3 years agoreplacing committers 04/4304/1
czichy [Fri, 3 Jul 2020 05:50:24 +0000 (08:50 +0300)]
replacing committers

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I0cbf80d31a3bc47b290448a74abdcee4f888144d

4 years agoMerge "Add new license claim" bronze
Roni Riska [Thu, 28 Nov 2019 06:42:21 +0000 (06:42 +0000)]
Merge "Add new license claim"

4 years agoAdd new license claim 00/1800/1
Roni Riska [Wed, 27 Nov 2019 08:40:37 +0000 (10:40 +0200)]
Add new license claim

Adding extra line that src files are part of RIC platform project.

Change-Id: I746145b9f1f359740d983ff18f18fb3a575c27b0
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoMerge "Automation adds INFO.yaml" Amber
Roni Riska [Thu, 14 Nov 2019 08:22:04 +0000 (08:22 +0000)]
Merge "Automation adds INFO.yaml"

4 years agoAdd docs building support 43/1543/1
Roni Riska [Wed, 13 Nov 2019 06:26:35 +0000 (08:26 +0200)]
Add docs building support

Change-Id: I8f20615f69f0beaa0864407435b35e38c3d40e56
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAutomation adds INFO.yaml 24/1424/2
Aric Gardner [Fri, 8 Nov 2019 15:54:10 +0000 (15:54 +0000)]
Automation adds INFO.yaml

Change-Id: I5c37f6e782326e7d83a6f3d4dfda6080add193f5
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
4 years agoMove python sources to a subdir 79/1379/4
Roni Riska [Wed, 6 Nov 2019 13:37:27 +0000 (15:37 +0200)]
Move python sources to a subdir

To better support CI process, all python code
including tox.ini and setup.py are moved to
mdclogpy subdir.

Now changes to release dir and mdclogpy dir will
trigger different ci jobs.

Change-Id: I15d2414a68dcca51d01a4187050b4140ff872abf
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd releases yaml file 64/1364/3 1.1.1
Roni Riska [Tue, 5 Nov 2019 14:20:46 +0000 (16:20 +0200)]
Add releases yaml file

The yaml file for automatic package releasing to Pypi.

Change-Id: I103e17694cc701192018323d94640cabc07026b6
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd CI support 98/1298/4
Roni Riska [Thu, 31 Oct 2019 13:45:07 +0000 (15:45 +0200)]
Add CI support

Add tox.ini which runs the unit tests and coverage for
the Python code.

Change-Id: I3e851fe09119257beae93cc8c9b7d4d73545993b
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoBump module version 29/629/1
Roni Riska [Mon, 5 Aug 2019 07:46:40 +0000 (10:46 +0300)]
Bump module version

Update the version from 1.0 to 1.1

Change-Id: I16ecdbc367dbba41c2856a905fe8cf721ddeff13
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFix level enum checking 01/601/1
Roni Riska [Wed, 31 Jul 2019 11:10:16 +0000 (14:10 +0300)]
Fix level enum checking

In Python 3.8 checks with non-Enum causes TypeError exception.
https://docs.python.org/3/whatsnew/3.7.html#enum

So, if the library user would call mdclog.set_level(123)
it would crash the process with Python 3.8. With 3.7 it would
just cause an error print and with older nothing would happen.

Now we try to convert the set_level argument to a Level object
and if it does not succeed then ignore the setting, like
it has worked with older Python versions.

Change-Id: Ib99d5feb8eea919ffc9cd12405aac6da892f6d14
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFirst release version 65/465/2
Roni Riska [Thu, 4 Jul 2019 09:28:47 +0000 (12:28 +0300)]
First release version

Change-Id: I1c868f6927754884cae2d2280580b84452a5cb65
Signed-off-by: Roni Riska <roni.riska@nokia.com>
5 years agoInitial empty repository
Jessica Wagantall [Tue, 14 May 2019 17:56:23 +0000 (17:56 +0000)]
Initial empty repository