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 gets stuck and does not close on some very common cases #29

Open
guilhermebodin opened this issue Aug 11, 2023 · 0 comments
Open

Comments

@guilhermebodin
Copy link
Member

I have been going through this problem

Got exception outside of a @test
  Cannot create a logger if my_log_file.log still has
  Stacktrace:
    [1] error(s::String)
      @ Base .\error.jl:35
    [2] remove_log_file_path_on_logger_creation(log_file_path::String)
      @ PSRLogger C:\Users\guilhermebodin\.julia\packages\PSRLogger\WuHqw\s

Mainly because the stream is blocked. There should be a way to avoid this in many cases.

Maybe opening and closing the file to log into it.

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