Refactoring logging _log function.
Refactoring logging _log function.

We should not be overriding private functions of core python modules.
Fixes bug: 915597

Change-Id: I1d1f6dc142cd822030a671f7f2f477a44acafe46

n0ano/gantt,n0ano/gantt