Please fill out the issue checklist below and provide ALL the requested information.
Describe the bug and the command you saw an issue with
While working on code changes I noticed that I wasn't able to see logs if I set the log level to trace. It turns out that the log level using the trace keyword isn't supported although it has been added to the logger 7 years ago.
What happened
Notice that a debug log is being printed when I use the debug level
$ CF_LOG_LEVEL=debug cf create-package hello
Creating and uploading bits package for app hello in org myorg / space myspace as john.doe@example.com...
DEBU[0000] convert to translatable error err="actionerror.ApplicationNotFoundError{GUID:\"\", Name:\"hello\"}"
App 'hello' not found.
FAILED
but that if I set the log level to trace the debug printout does not appear.
$ CF_LOG_LEVEL=trace cf create-package hello
Creating and uploading bits package for app hello in org myorg / space myspace as john.doe@example.com...
App 'hello' not found.
FAILED
however, if I set the debug level to 6, which corresponds to trace it does show:
$ CF_LOG_LEVEL=6 cf create-package hello
Creating and uploading bits package for app hello in org myorg / space myspace as john.doe@example.com...
DEBU[0000] convert to translatable error err="actionerror.ApplicationNotFoundError{GUID:\"\", Name:\"hello\"}"
App 'hello' not found.
FAILED
Expected behavior
I should be able to use CF_LOG_LEVEL=trace
Exact Steps To Reproduce
See above.
Please fill out the issue checklist below and provide ALL the requested information.
CF_TRACE=1to help debug the issue.Describe the bug and the command you saw an issue with
While working on code changes I noticed that I wasn't able to see logs if I set the log level to
trace. It turns out that the log level using thetracekeyword isn't supported although it has been added to the logger 7 years ago.What happened
Notice that a debug log is being printed when I use the
debuglevelbut that if I set the log level to
tracethe debug printout does not appear.however, if I set the debug level to 6, which corresponds to
traceit does show:Expected behavior
I should be able to use
CF_LOG_LEVEL=traceExact Steps To Reproduce
See above.