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

Added config entry for temporary directory #6

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

Fank
Copy link
Member

@Fank Fank commented Aug 18, 2023

And i added a script to build linux based on ubuntu inside docker.

@@ -144,6 +145,7 @@ namespace {
int httpRequestTimeout{ 120 };
int traceLog{ 0 };
std::string logsDir{ "./OCAPLOG" };
std::string tempDir{ "./OCAPTMP" };
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@indig0fox with that change it will use this folder by default.
Should i change it back to the old behaviour, so that i will use the default os temp folder until you configure a custom one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think keeping existing log behavior and default folder, and adding a default temp dir alongside it in the Arma root for storing backup .gz, is the most intuitive way forward. I would remove the os default temp folder usage entirely. With this, logs will always tie to recordings in the a3 root regardless of profile, user account, or install environment.

@Fank Fank requested a review from indig0fox August 19, 2023 08:34
@Fank Fank self-assigned this Aug 19, 2023
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