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

Logger will not try and resolve path if not logging to disk #3496

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

JR-Morgan
Copy link
Member

@JR-Morgan JR-Morgan commented Jun 8, 2024

Currently, our Logger will check that the logger directory exists on setup, even if the LogConfig has disk logging disabled.
This is causing some problems for users who are in environments other than windows/mac, or are in environments with no disk access.

User reports:
https://speckle.community/t/how-to-override-path-or-disable-specklelog/11705/3
https://speckle.community/t/speckle-unity-problems-in-android/9400

TODO:

  • Test in connectors for regressions
  • Test with no filesystem access

@JR-Morgan JR-Morgan requested a review from AlanRynne June 8, 2024 17:31
@JR-Morgan JR-Morgan marked this pull request as draft June 8, 2024 17:36
@JR-Morgan
Copy link
Member Author

JR-Morgan commented Jun 8, 2024

@AlanRynne since this is no longer a blocker for the user. I don't think we should rush this one in, I'd like to test some more.

Copy link
Member

@AlanRynne AlanRynne left a comment

Choose a reason for hiding this comment

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

This looks good but I agree about testing it heavily before going forward :) Let's chat later

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