8000 Make logdir configuration work as intended by richcarl · Pull Request #4491 · aeternity/aeternity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make logdir configuration work as intended #4491

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 4 commits into from
Feb 18, 2025
Merged

Make logdir configuration work as intended #4491

merged 4 commits into from
Feb 18, 2025

Conversation

richcarl
Copy link
Contributor
@richcarl richcarl commented Nov 15, 2024

The logdir configuration is defined in setup part of the sys.config, just like the data dir, but it did not work as intended because lager wants to create the log directory on disk as soon as it starts, and at that point it will have its own default config settings. This fixes the problem and switches the start order of setup and lager.
Depends on #4496.

This PR is supported by Æternity Foundation.

@klercker
Copy link
Contributor

build and run setup is beyond my expertise in so many ways, but are there any reasons we could not get this one out of the way?

@richcarl
Copy link
Contributor Author

There were still some complications as I recall, and it wasn't a high priority. But it would be nice to do because this blocked other things we wanted to fix with logging when running under Docker.

@richcarl richcarl merged commit f433b12 into master Feb 18, 2025
42 checks passed
@ri
8C6D
chcarl richcarl deleted the logdir-config branch February 18, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0