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

Logs from JULIA_DEBUG="loading" are not visible #2487

Open
fonsp opened this issue Mar 2, 2023 · 1 comment
Open

Logs from JULIA_DEBUG="loading" are not visible #2487

fonsp opened this issue Mar 2, 2023 · 1 comment
Labels
backend Concerning the julia server and runtime bug Something isn't working display & PlutoRunner & AbstractPlutoDingetjes.jl logging About `@info`, `@warn`, etc

Comments

@fonsp
Copy link
Owner

fonsp commented Mar 2, 2023

If you run JULIA_DEBUG="Pluto,loading", then start Pluto, then start a notebook, then import a package, then you should see these loading logs:

      From worker 2:	┌ Debug: Ignoring cache file /Users/fons/.julia/compiled/v1.8/SnoopPrecompile/TcfDT_eiJGP.ji for SnoopPrecompile [66db9d55-30c0-4569-8b51-7e840670fc0c] since it is does not provide desired build_id
      From worker 2:	└ @ Base loading.jl:2082
      From worker 2:	┌ Debug: Loading cache file /Users/fons/.julia/compiled/v1.8/Preferences/pWSk8_8JDRZ.ji for Preferences [21216c6a-2e73-6563-6e65-726566657250]
      From worker 2:	└ @ Base loading.jl:806
      From worker 2:	┌ Debug: Loading cache file /Users/fons/.julia/compiled/v1.8/SnoopPrecompile/TcfDT_8JDRZ.ji for SnoopPrecompile [66db9d55-30c0-4569-8b51-7e840670fc0c]
      From worker 2:	└ @ Base loading.jl:806
      From worker 2:	┌ Debug: Loading cache file /Users/fons/.julia/compiled/v1.8/Parsers/833b9_zge78.ji for Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0]
      From worker 2:	└ @ Base loading.jl:806
      From worker 2:	┌ Debug: Loading cache file /Users/fons/.julia/compiled/v1.8/JSON/uf6oy_zge78.ji for JSON [682c06a0-de6a-54ab-a142-c8b1cf79cde6]
      From worker 2:	└ @ Base loading.jl:806
      From worker 2:	┌ Debug: Loading cache file /Users/fons/.julia/compiled/v1.8/BenchmarkTools/ZXPQo_8wiMI.ji for BenchmarkTools [6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf]
      From worker 2:	└ @ Base loading.jl:806

I only see these logs because I disabled all IO and log capture (https://github.com/fonsp/Pluto.jl/tree/pg/pkg) but they should not be hidden silently.

I think we are hiding them because they are the DEBUG level, and they do not originate from the notebook itself.

@fonsp fonsp added bug Something isn't working backend Concerning the julia server and runtime display & PlutoRunner & AbstractPlutoDingetjes.jl labels Mar 2, 2023
@fonsp fonsp added the logging About `@info`, `@warn`, etc label Mar 14, 2023
@fonsp
Copy link
Owner Author

fonsp commented Mar 14, 2023

This is caused by #2509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Concerning the julia server and runtime bug Something isn't working display & PlutoRunner & AbstractPlutoDingetjes.jl logging About `@info`, `@warn`, etc
Projects
None yet
Development

No branches or pull requests

1 participant