You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
I'm a maintainer of a provider and I log things at different levels. By default, the logger is set to Info. If the DevPod application is in debug mode, there should be a way of the application telling the provider to emit messages at the Debug level.
Often, the debug level has useful information for debugging problems (who knew?), but that we don't want to see in normal circumstances.
Which solution do you suggest?
All the communication between the application and the provider is done via environment variables - it would make sense to use that mechanism. My suggestions are either:
DEBUG: true|false
LOG_LEVEL: debug|info|warn (this would default to info if nothing sent)
It looks like the application only recognises whether it's in debug mode or not, so the top one would make sense. But having a LOG_LEVEL would allow for granularity and future changes.
In truth, I don't really care which is which, so long as something is set.
Which alternative solutions exist?
Do nothing - not a major problem, but does miss out of the ability to see debug messages
Is your feature request related to a problem?
I'm a maintainer of a provider and I log things at different levels. By default, the logger is set to
Info
. If the DevPod application is in debug mode, there should be a way of the application telling the provider to emit messages at theDebug
level.Often, the debug level has useful information for debugging problems (who knew?), but that we don't want to see in normal circumstances.
Which solution do you suggest?
All the communication between the application and the provider is done via environment variables - it would make sense to use that mechanism. My suggestions are either:
DEBUG
:true|false
LOG_LEVEL
:debug|info|warn
(this would default toinfo
if nothing sent)It looks like the application only recognises whether it's in debug mode or not, so the top one would make sense. But having a
LOG_LEVEL
would allow for granularity and future changes.In truth, I don't really care which is which, so long as something is set.
Which alternative solutions exist?
Do nothing - not a major problem, but does miss out of the ability to see debug messages
Additional context
Slack thread
The text was updated successfully, but these errors were encountered: