Skip to content

Improved command logging #2559

Description

@amorton

from the work in #2555 the logging of command processing (start, finish, error) is not consistent. Some of it happens in the MeteredCommandProcessor but this will not cover the case where session fails to be created with metadata. In that case the error happens in the Resource and never gets to the command processor.

Refactor so:

  • there is consistent logging of commands, across all HTTP resources (DB, keyspace, collecton/table)
  • the config is simplified.

Outcome is to make it easier to analyse logs for particular command results

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions