Skip to content

Improve the way the Go client logs messages #124

Closed
@tmiddlet2666

Description

@tmiddlet2666

Enhancement Request

We should improve the way log and debug messages are generated in the go client.

This is in response to #123

We should align the log message levels with existing Coherence levels using the COHERENCE_LOG_LEVEL environment variable and deprecate the other environment variables:

  • COHERENCE_SESSION_DEBUG
  • COHERENCE_MESSAGE_DEBUG
  • COHERENCE_RESOLVER_DEBUG

The log levels should be
1 = ERROR
2 = WARNING
3 = INFO (Default)
4 = DEBUG - This will enable the equivalent of COHERENCE_SESSION_DEBUG and COHERENCE_RESOLVER_DEBUG
5 = ALL = this will enable COHERENCE_MESSAGE_DEBUG

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions