Skip to content

Commit

Permalink
fixup! fixup! fixup! Look for config.yaml file in ./ and ./config dir…
Browse files Browse the repository at this point in the history
…ectories

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
  • Loading branch information
chaudum committed May 30, 2022
1 parent 6101b1a commit ff442d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/sources/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ that the order of configs reads correctly top to bottom when viewed in Grafana's

To specify which configuration file to load, pass the `-config.file` flag at the
command line. The value can be a list of comma separated paths, then the first
file that exists will be used. The file is written in [YAML
file that exists will be used.
If no `-config.file` argument is specified, Loki will look up the `config.yaml` in the
current working directory and the `config/` sub-directory and try to use that.

The file is written in [YAML
format](https://en.wikipedia.org/wiki/YAML), defined by the scheme below.
Brackets indicate that a parameter is optional. For non-list parameters the
value is set to the specified default.
Expand Down

0 comments on commit ff442d1

Please sign in to comment.