Contextlog implementation

move `disable=W0212` to pylintrc