Skip to content

Flag log-format not working #1349

Description

@jasonforte

I'm trying to get logs shipping into CloudWatch without the color formatting etc.

Tried to use the documented --log-format param but encountering an issue:

$ docker run -it --rm fluree/server:4.0.7 --log-format json
Initialized Fluree in /var/lib/fluree/.fluree
error: unexpected argument '--log-format' found

  tip: to pass '--log-format' as a value, use '-- --log-format'

Usage: fluree server run [OPTIONS] [-- <EXTRA_ARGS>...]

For more information, try '--help'.

$ docker run -it --rm fluree/server:4.0.7 -- --log-format json
Initialized Fluree in /var/lib/fluree/.fluree
error: invalid server flags: error: unexpected argument '--log-format' found

Usage: fluree-server --storage-path <STORAGE_PATH>

For more information, try '--help'.

Using version 4.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions