You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set ORS_CONFIG_LOCATION environment value to the value /home/ors/config/config.yml.
Even with the DEBUG log level, it isn't used.
It is silently ignored.
After debugging, I've checked that it is due to not having the json or yml extension. .yaml is a very widespread extension for YAML files. In fact, I never use .yml.
Proposed solution
Accept also *.yaml or document it isn't allowed.
Additional context
Version 8.1.0
Using Docker image.
By examining docker-entrypoint.sh I 've understood whtat happens.
Forum Topic Link
No response
The text was updated successfully, but these errors were encountered:
(1) If ORS_CONFIG_LOCATION is set to config.yml I would expect ORS to look for a file named config.yml.
(2) If ORS_CONFIG_LOCATION is set to config.yaml I would expect ORS to look for a file named config.yaml.
(3) If ORS_CONFIG_LOCATION is set to config.yml and the file is called config.yaml I would expect ORS to stop with the error message Log file 'config.yml' not found..
Can you confirm that (2) does not work. If yes, could you please post the log output?
Is there an existing issue for this?
Problem description
I set
ORS_CONFIG_LOCATION
environment value to the value/home/ors/config/config.yml
.Even with the DEBUG log level, it isn't used.
It is silently ignored.
After debugging, I've checked that it is due to not having the
json
oryml
extension..yaml
is a very widespread extension for YAML files. In fact, I never use.yml
.Proposed solution
Accept also *.yaml or document it isn't allowed.
Additional context
Version 8.1.0
Using Docker image.
By examining
docker-entrypoint.sh
I 've understood whtat happens.Forum Topic Link
No response
The text was updated successfully, but these errors were encountered: