Skip to content

If there is no config file and an error about that then it seems the command line options are ignored #488

@dickon

Description

@dickon

I installed ov from homebrew on OSX 14.2.1, did:

ov --follow-name --multi-color "ERROR,INFO,WARN,DEBUG,^2024-.{19},\[.*]" --wrap corda.log

and didn't get wrapping or the color highlighting, which I expected.

And I then noticed an error:

dickon.reed@LDNM-RP94MJ9T71 logs % ov   --follow-name --multi-color "ERROR,INFO,WARN,DEBUG,^2024-.{19},\[.*]" --wrap corda.log
failed to read config file: Config File "config" Not Found in "[/Users/dickon.reed/.config/ov]"

and figured nevermind, I don't need a config file yet.

If I create an empty config file at ~/.config/ov/config.yaml the command line options work as expected. Initially I tried to make an empty file ~/.config/ov which of course didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions