enso
enso copied to clipboard
Logging from Enso includes weird class name
I was just testing some logging in #11261 and here's an excerpt:
INFO: Access token expires at 2024-10-05 16:20:00[Z], so we are refreshing it.
paź 05, 2024 7:20:31 PM com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle
WARNING: Refresh token request failed with status 401 Unauthorized: Invalid refresh token..
paź 05, 2024 7:20:31 PM com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle
INFO: Access token expires at 2024-10-05 16:20:00[Z], so we are refreshing it.
The class name com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle
is not really expected.
I'd rather expect something along Standard.Base.Enso_Cloud.Internal.Authentication
there, since that's the class name we use getLogger
for:
Any.log_message self ~message:Text level:Log_Level=Log_Level.Info =
type_name = Meta.get_qualified_type_name self
logger = Logger.getLogger type_name