Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up service/provider logging #284

Merged
6 commits merged into from
Oct 27, 2016
Merged

Clean up service/provider logging #284

6 commits merged into from
Oct 27, 2016

Conversation

111pontes
Copy link
Collaborator

Improve consistency in logging formatting and coverage across services and providers. Covers all services except NETCONF service.

@ghost ghost added the in progress label Oct 27, 2016
Codec service logging now shows where the encode/decode operation
starts and where it is completed.  Also, the codec provider doesn't
log an identity (object) any more.  Logging the object reference wasn't
particularly informative.
CRUD service logging now shows where an operation starts and where it is
completed.
Executor service logging now shows where an execute_rpc operation starts
and where it is completed.
Executor service now uses module name for the logger (__name__).  Naming
is consistent with the logger for the other services.
Brings consistency to logger names.  All loggers now use the Python
module name (__name__).
Disconnect message doesn't show port as 'None' when the default port
(830) is being used.  If port is left unspecified when the session is
opened, logging doesn't try to specify the port explicitly when
disconnecting.
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ghost ghost merged commit a030a69 into CiscoDevNet:master Oct 27, 2016
@ghost ghost removed the in progress label Oct 27, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant