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

Make almalinux-deploy.sh safer and easier to debug #213

Open
digirave opened this issue Apr 5, 2024 · 0 comments
Open

Make almalinux-deploy.sh safer and easier to debug #213

digirave opened this issue Apr 5, 2024 · 0 comments

Comments

@digirave
Copy link

digirave commented Apr 5, 2024

Hello,

I noticed a bad debug log behavior with almalinux-deploy.sh

It is good that is creates log files almalinux-deploy.log and almalinux-deploy.debug.log in /var/log by default.

However, it is really bad it overwrites them each time it is run.

To explain, I had a few almalinux-deploy.sh conversion errors.

However the problem is that since we had errors, I re-ran the script.
In such cases the log files are overwritten, but the errors did not occur when the script is re-run.
I would think this would happen in a large number of cases where almalinux-deploy.sh fails and is re-run.

Therefore, I suggest updating almalinux-deploy.sh so that the log files are not overwritten but appended or incremented per run.

Thank you.

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

1 participant