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

Change logging dir and add post command guard #328

Merged
merged 2 commits into from
Jun 5, 2023
Merged

Conversation

annehaley
Copy link
Collaborator

No description provided.

@annehaley annehaley requested a review from manthey June 5, 2023 18:37
@@ -18,7 +18,7 @@
from . import filters, models, serializers
from .tasks import groom, optimize

DB_WRITE_ACCESS_LOG_FILE = Path(os.path.expanduser('~'), 'logging', 'db_write_access.log')
DB_WRITE_ACCESS_LOG_FILE = Path('/tmp', 'logging', 'db_write_access.log')
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be tempfile.gettempdir(), not /tmp

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Gotcha. Changed in 24c812d

@annehaley annehaley merged commit b329970 into master Jun 5, 2023
@annehaley annehaley deleted the prod-bug-fixes-2 branch June 5, 2023 18:53
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