Skip to content

extended_bin: Avoid using logger #945

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

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

weiss
Copy link
Contributor

@weiss weiss commented Feb 21, 2025

The user running the release may not have the privileges required to using logger(1). In that case, logger(1) returns non-zero, so the extended start script would fail (due to set -e).

Modern systems (e.g., systemd-based or container solutions) typically expect services to write log messages to the standard output, and the extended start script does this in other places already. Therefore, just don't bother with logger(1) anymore.

Log the root directory path only once during startup.
@ferd ferd merged commit d274596 into erlware:main Feb 21, 2025
12 of 18 checks passed
@weiss
Copy link
Contributor Author

weiss commented Feb 21, 2025

Re-submitted as #947 since I managed to confuse GitHub by force-pushing the wrong update into the PR branch (goal was resolving merge conflicts after #946 was merged). Sorry for the confusion.

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

Successfully merging this pull request may close these issues.

2 participants