winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Admin setting was not found logged multiple times

Open Trenly opened this issue 1 year ago • 0 comments

Brief description of your issue

It seems that the admin setting for default proxy is being accessed or logging multiple times

Steps to reproduce

Run any command on a fresh install

Expected behavior

Settings would only be accessed / logged once

Actual behavior

See logs below

Environment

2024-06-28 12:52:56.126 [CORE] WinGet, version [1.9.1763-preview], activity [{56EDC85A-BE3B-4CD3-980B-5FA40D345B95}]
2024-06-28 12:52:56.126 [CORE] OS: Windows.Desktop v10.0.26241.5000
2024-06-28 12:52:56.126 [CORE] Command line Args: "C:\Users\WDAGUtilityAccount\AppData\Local\Microsoft\WindowsApps\winget.exe" install Rustlang.Rust.MSVC --disable-interactivity --verbose --logs
2024-06-28 12:52:56.126 [CORE] Package: Microsoft.DesktopAppInstaller v1.24.1763.0
2024-06-28 12:52:56.126 [CORE] IsCOMCall:0; Caller: winget-cli
2024-06-28 12:52:56.138 [CLI ] WinGet invoked with arguments: 'install' 'Rustlang.Rust.MSVC' '--disable-interactivity' '--verbose' '--logs'
2024-06-28 12:52:56.138 [CLI ] Found subcommand: install
2024-06-28 12:52:56.138 [CLI ] Leaf command to execute: root:install
2024-06-28 12:52:56.140 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-06-28 12:52:56.140 [YAML] Detected UTF-8
2024-06-28 12:52:56.140 [YAML] Detected UTF-8
2024-06-28 12:52:56.140 [CORE] Admin setting 'DefaultProxy' was not found or did not contain the expected format
2024-06-28 12:52:56.140 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-06-28 12:52:56.140 [YAML] Detected UTF-8
2024-06-28 12:52:56.140 [YAML] Detected UTF-8
2024-06-28 12:52:56.140 [CORE] Admin setting 'DefaultProxy' was not found or did not contain the expected format
2024-06-28 12:52:56.141 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-06-28 12:52:56.141 [YAML] Detected UTF-8
2024-06-28 12:52:56.141 [YAML] Detected UTF-8
2024-06-28 12:52:56.141 [CORE] Admin setting 'DefaultProxy' was not found or did not contain the expected format
2024-06-28 12:52:56.141 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-06-28 12:52:56.141 [YAML] Detected UTF-8
2024-06-28 12:52:56.141 [YAML] Detected UTF-8
2024-06-28 12:52:56.141 [CORE] Admin setting 'DefaultProxy' was not found or did not contain the expected format
2024-06-28 12:52:56.141 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-06-28 12:52:56.141 [YAML] Detected UTF-8
2024-06-28 12:52:56.141 [YAML] Detected UTF-8
2024-06-28 12:52:56.141 [CORE] Admin setting 'DefaultProxy' was not found or did not contain the expected format
2024-06-28 12:52:56.142 [CLI ] Executing command: install

Trenly avatar Jun 28 '24 17:06 Trenly