mirror of
https://github.com/enso-org/enso.git
synced 2024-11-30 05:35:09 +03:00
51abb3e1b0
Previously custom log levels applied only to non-Truffle loggers. To allow it, filtering has to be applied appropriately at two places - first at Java's Handler and then essentially re-confirmed at SLF4J's logger to which the former forwards to. Filters compose in an `AND` condition, therefore default log level check had to be merged into our custom filters. `TruffleLogger` has a builtin functionality to perform the filtering when context is configured appropriately. This should be much more efficient than adding a `Filter` to the JUL Handler explicitly. # Important Notes ``` JAVA_OPTS="-org.enso.compiler.SerializationManager.Logger.level=debug" ./built-distribution/enso-engine-0.0.0-dev-linux-amd64/enso-0.0.0-dev/bin/enso --run ``` will now assign a custom log level to `SerializationManager` Logger. |
||
---|---|---|
.. | ||
main | ||
test/scala/org/enso/logger |