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
I have verified this is the correct repository for opening this issue.
I have verified no other issues exist related to my problem.
I have verified this is not an issue for a specific package.
I have verified this issue is not security related.
I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
Chocolatey CLI has a number of logging levels, including debug, verbose and trace. Each one of these levels increases the level of detail included in the output. trace in particular includes low level logging around outgoing requests to the configured sources. Based on conversations within the team, the decision has been taken to only allow trace logging when running in an elevated session.
What is Expected?
No sensitive information should be output to the console when using the --trace option, when not running in an elevated session.
How Did You Get This To Happen?
Run choco search --trace
System Details
Operating System: Windows 11
Windows PowerShell version: 5.1.26100.2161
Chocolatey CLI Version: 2.4.1
Chocolatey Licensed Extension version: 6.3.0
Chocolatey License type: Business
Terminal/Emulator: Windows Terminal
Installed Packages
N/A
Output Log
N/A
Additional Context
None
The text was updated successfully, but these errors were encountered:
Prior to this change, trace level logging was available to everyone.
However, due to the sensitive nature of some of the output, the
decision has been taken to restrict trace logging to only elevated
sessions.
When an attempt is made to use trace logging in a non-elevated session,
a warning will be shown, and no trace logging will be shown. In
addition, if the -r option is in play, the warning about no trace
logging will go to the log file, but won't be displayed.
Checklist
What You Are Seeing?
Chocolatey CLI has a number of logging levels, including
debug
,verbose
andtrace
. Each one of these levels increases the level of detail included in the output.trace
in particular includes low level logging around outgoing requests to the configured sources. Based on conversations within the team, the decision has been taken to only allow trace logging when running in an elevated session.What is Expected?
No sensitive information should be output to the console when using the
--trace
option, when not running in an elevated session.How Did You Get This To Happen?
Run
choco search --trace
System Details
Installed Packages
Output Log
Additional Context
None
The text was updated successfully, but these errors were encountered: