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

[minidlna] Fix foreground process and remove debug output #88

Closed
quotschmacher opened this issue Aug 16, 2019 · 5 comments
Closed

[minidlna] Fix foreground process and remove debug output #88

quotschmacher opened this issue Aug 16, 2019 · 5 comments
Assignees

Comments

@quotschmacher
Copy link

would it be possible to make the debug output optional via a variable passed to the container? the enormous output of minidlna prevents my harddrive from spinning down.
and it seems that the debug output doesn't care about the configured log_level.

@vladgh
Copy link
Owner

vladgh commented Aug 17, 2019 via email

@quotschmacher
Copy link
Author

Not in the compose. It is a minidlna Option. You are starten minidlna with the '-d' Option and this should be optional

@vladgh
Copy link
Owner

vladgh commented Aug 17, 2019 via email

@quotschmacher
Copy link
Author

it's not about how i start the container. in your entrypoint.sh you call minidlna (hardcoded) with the '-d' parameter. this enables the debug-output which nearly floods the docker container log.

@vladgh
Copy link
Owner

vladgh commented Aug 18, 2019

Now I see what you mean. -d was used because it did not daemonize the process. But now that you mentioned it, I found a better way, with -S which will also keep the process in the foreground, but will listen to log_level (which is warn by default).
So thanks for bringing this up, I will update the image.

@vladgh vladgh self-assigned this Aug 18, 2019
@vladgh vladgh closed this as completed in e535df1 Aug 18, 2019
@vladgh vladgh changed the title miniDLNA debug output [minidlna] Fix foreground process and remove debug output Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants