8000 Support custom LoggingTypes · Issue #2443 · docker-java/docker-java · GitHub
[go: up one dir, main page]

Skip to content 8000

Support custom LoggingTypes #2443

@clairradiant

Description

@clairradiant

My use case requires the use of a custom logging driver. Due to the representation of LoggingType as an enum:

public enum LoggingType {
NONE("none"),
DEFAULT("json-file"),
LOCAL("local"),
ETWLOGS("etwlogs"),
JSON_FILE("json-file"),
SYSLOG("syslog"),
JOURNALD("journald"),
GELF("gelf"),
FLUENTD("fluentd"),
AWSLOGS("awslogs"),
DB("db"), // Synology specific driver
SPLUNK("splunk"),
GCPLOGS("gcplogs"),
LOKI("loki");

this appears not possible using docker-java. This issue previously came up in #783 but was resolved by manually adding the log driver type in question as an element of the enum, which does not solve the issue in the more general case.

Metadata

Metadata

Assignees

No one assigned

    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

      0