Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended message for the "configuration file not found, using an empty configuration" warning #2276

Closed
wants to merge 1 commit into from

Conversation

Ninja-Spotted
Copy link

Extended message for the "configuration file not found, using an empty configuration" warning

Extended message for the "configuration file not found, using an empty configuration" warning
@Ninja-Spotted
Copy link
Author

I wanted to make more clear this problem I had a few months back (#1788 resolved) and I think this extension of the message may help someone.

I am open for feedback on my "contribution".

@Ninja-Spotted Ninja-Spotted changed the title Update core.go Extended message for the "configuration file not found, using an empty configuration" warning Sep 1, 2023
aler9 added a commit that referenced this pull request Sep 16, 2023
@aler9
Copy link
Member

aler9 commented Sep 16, 2023

Hello, thanks for reporting this user experience-related problem. Thanks to #2357, the server now searches for the configuration file in various location, so i included this fix in #2357 in an improved version that prints all locations that were searched:

 configuration file not found (looked in /s/rtsp-simple-server.yml, /s/mediamtx.yml, /usr/local/etc/mediamtx.yml, /etc/mediamtx/mediamtx.yml), using an empty configuration

@aler9 aler9 closed this Sep 16, 2023
aler9 added a commit that referenced this pull request Sep 16, 2023
aler9 added a commit that referenced this pull request Sep 16, 2023
@Ninja-Spotted Ninja-Spotted deleted the ConfigNotFound branch September 18, 2023 13:24
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants