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

log file not being created #58

Closed
WhiskerWeirdo opened this issue May 27, 2024 · 3 comments
Closed

log file not being created #58

WhiskerWeirdo opened this issue May 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@WhiskerWeirdo
Copy link
Owner

image
@WhiskerWeirdo WhiskerWeirdo added the bug Something isn't working label May 27, 2024
@WhiskerWeirdo WhiskerWeirdo self-assigned this May 27, 2024
@WhiskerWeirdo
Copy link
Owner Author

Added some checks and balances and output window information about where the log should go and trying to create it.

@WhiskerWeirdo
Copy link
Owner Author

its a rights issue:

image

Solving: if not allowed, create the logfile in the appdir where the persona/settings file is located

@WhiskerWeirdo
Copy link
Owner Author

if log directory does not exist, try create it in application directory. if this fails -> create it in appdata and set default logdir to that.

if log directory exists but file cannot be created -> create it in appdata

if log file exists, but it cannot be written to -> create in appdata instead

WhiskerWeirdo added a commit that referenced this issue May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant