1468 references to LogDebug
aspire (689)
Acquisition\InstallationCandidateSources.cs (10)
63context.Logger.LogDebug("Discovery: release prefix walk yielded '{Binary}'.", releaseBinary); 70context.Logger.LogDebug( 76context.Logger.LogDebug("Discovery: release prefix '{ReleaseDir}' does not exist; skipping.", releaseDir); 96context.Logger.LogDebug("Discovery: dogfood walk yielded '{Binary}'.", binary); 103context.Logger.LogDebug( 111context.Logger.LogDebug("Discovery: dogfood root '{DogfoodRoot}' exists but contains no subdirectories.", dogfoodRoot); 116context.Logger.LogDebug("Discovery: dogfood root '{DogfoodRoot}' does not exist; skipping.", dogfoodRoot); 146context.Logger.LogDebug("Discovery: dotnet-tool store '{ToolStore}' does not exist; skipping.", toolStore); 154context.Logger.LogDebug("Discovery: dotnet-tool store walk yielded '{Binary}'.", binary); 160context.Logger.LogDebug(
Acquisition\InstallationDiscovery.cs (10)
132_logger.LogDebug( 148_logger.LogDebug("Discovery: no 'aspire' binary found on $PATH."); 154_logger.LogDebug( 173_logger.LogDebug( 190_logger.LogDebug( 197_logger.LogDebug( 213_logger.LogDebug( 272_logger.LogDebug( 290_logger.LogDebug( 418_logger.LogDebug("Could not read identity channel for InstallationDiscovery: {Error}", error);
Acquisition\InstallSidecarReader.cs (3)
47_logger.LogDebug("Install sidecar read skipped because the binary directory is empty."); 54_logger.LogDebug("Install sidecar file '{SidecarPath}' does not exist.", sidecarPath); 60_logger.LogDebug("Install sidecar file '{SidecarPath}' rejected: {Reason}.", sidecarPath, oversizedReason);
Acquisition\PeerInstallProbe.cs (2)
149_logger.LogDebug("Peer probe at {BinaryPath} produced no rich JSON output.", binaryPath); 182_logger.LogDebug("Peer probe at {BinaryPath} returned JSON without an installation row; trying the --version fallback.", binaryPath);
Acquisition\WingetFirstRunProbe.cs (1)
78_logger.LogDebug("Winget first-run probe wrote sidecar at {Path}.", sidecarPath);
Agents\AspireSkills\AspireSkillsInstaller.cs (17)
113logger.LogDebug("Aspire skills GitHub acquisition failed for version {Version}; falling back to embedded snapshot. Failure: {Failure}", effectiveVersion, githubResult.Message); 132logger.LogDebug( 143logger.LogDebug("Aspire skills remote fetch feature '{Feature}' is disabled; using the embedded snapshot.", KnownFeatures.AspireSkillsRemoteFetchEnabled); 179logger.LogDebug("Aspire skills GitHub release was unavailable for version {Version}.", version); 187logger.LogDebug("Aspire skills GitHub release {TagName} does not contain a supported bundle asset for version {Version}.", release.TagName, version); 212logger.LogDebug("Aspire skills GitHub release asset {AssetName} was unavailable for version {Version}.", asset.Name, version); 294logger.LogDebug("No embedded Aspire skills bundle metadata is available."); 308logger.LogDebug( 343logger.LogDebug("Embedded Aspire skills archive is unavailable for version {Version}.", version); 442logger.LogDebug("Failed to fetch Aspire skills GitHub release {Tag}: HTTP {StatusCode}.", tag, response.StatusCode); 672logger.LogDebug( 687logger.LogDebug( 700logger.LogDebug( 713logger.LogDebug("Using cached Aspire skills bundle from {CacheDirectory}.", cacheDirectory); 807logger.LogDebug("Replacing Aspire skills cache directory {CacheDirectory}.", targetDir); 881logger.LogDebug( 891logger.LogDebug(
Agents\AspireSkills\EmbeddedAspireSkillsBundleProvider.cs (3)
99_logger.LogDebug("Embedded Aspire skills archive resource {ResourceName} was not found.", ArchiveResourceName); 110_logger.LogDebug("Embedded Aspire skills metadata resource {ResourceName} was not found.", MetadataResourceName); 122_logger.LogDebug("Embedded Aspire skills metadata resource {ResourceName} was empty.", MetadataResourceName);
Agents\AspireSkills\GitHubArtifactAttestationVerifier.cs (2)
52logger.LogDebug("Failed to fetch GitHub artifact attestations for {Repository} digest {Digest}: HTTP {StatusCode}", repository, digestHex, response.StatusCode); 116logger.LogDebug("Failed to extract provenance data from GitHub artifact attestation for {ArtifactPath}.", artifactPath);
Agents\ClaudeCode\ClaudeCodeAgentEnvironmentScanner.cs (12)
49_logger.LogDebug("Starting Claude Code environment scan in directory: {WorkingDirectory}", context.WorkingDirectory.FullName); 50_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 53_logger.LogDebug("Searching for .claude folder..."); 62_logger.LogDebug("Inferred workspace root from .claude folder parent: {WorkspaceRoot}", workspaceRoot.FullName); 65_logger.LogDebug("Checking if Aspire MCP server is already configured in .mcp.json..."); 69_logger.LogDebug("Adding Claude Code applicator for .mcp.json at: {WorkspaceRoot}", workspaceRoot.FullName); 74_logger.LogDebug("Aspire MCP server is already configured"); 83_logger.LogDebug("No .claude folder found, checking for Claude Code CLI installation..."); 88_logger.LogDebug("Found Claude Code CLI version: {Version}", claudeCodeVersion); 95_logger.LogDebug("Adding Claude Code applicator for .mcp.json at workspace root: {WorkspaceRoot}", context.RepositoryRoot.FullName); 100_logger.LogDebug("Aspire MCP server is already configured"); 108_logger.LogDebug("Claude Code CLI not found - skipping");
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (6)
19logger.LogDebug("Checking for Claude Code CLI installation"); 24logger.LogDebug("Claude Code CLI is not installed or not found in PATH"); 50logger.LogDebug("Claude Code CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("Claude Code CLI returned empty version output"); 78logger.LogDebug("Found Claude Code CLI version: {Version}", version); 82logger.LogDebug("Could not parse Claude Code CLI version from output: {Output}", output.Trim());
Agents\Copilot\CopilotAgentEnvironmentScanner.cs (10)
63_logger.LogDebug("Starting GitHub Copilot environment scan"); 69_logger.LogDebug("Detected GitHub Copilot App using installation marker {Marker}", installationMarker); 80_logger.LogDebug("Detected VSCode terminal environment. Assuming GitHub Copilot CLI is available to avoid potential hangs from interactive installation prompts."); 86_logger.LogDebug("Checking for GitHub Copilot CLI installation..."); 90_logger.LogDebug("Found GitHub Copilot CLI version: {Version}", copilotVersion); 96_logger.LogDebug("GitHub Copilot CLI is not installed"); 102_logger.LogDebug("No GitHub Copilot environments are installed - skipping"); 110_logger.LogDebug("Checking if Aspire MCP server is already configured in GitHub Copilot"); 113_logger.LogDebug("Adding GitHub Copilot applicator for global MCP configuration"); 118_logger.LogDebug("Aspire MCP server is already configured in GitHub Copilot");
Agents\Copilot\CopilotCliRunner.cs (5)
19logger.LogDebug("Checking for GitHub Copilot CLI installation"); 24logger.LogDebug("GitHub Copilot CLI is not installed or not found in PATH"); 50logger.LogDebug("GitHub Copilot CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 58logger.LogDebug("Found GitHub Copilot CLI version: {Version}", version); 62logger.LogDebug("Could not parse GitHub Copilot CLI version from output: {Output}", output.Trim());
Agents\DeprecatedMcpCommandScanner.cs (3)
42_logger.LogDebug("Scanning for deprecated MCP command usage in agent configurations"); 78_logger.LogDebug("Found deprecated MCP command in {AgentName} config at {Path}", location.AgentName, configPath); 200_logger.LogDebug("Updating {AgentName} config at {Path}", location.AgentName, configPath);
Agents\OpenCode\OpenCodeAgentEnvironmentScanner.cs (10)
44_logger.LogDebug("Starting OpenCode environment scan in directory: {WorkingDirectory}", context.WorkingDirectory.FullName); 45_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 54_logger.LogDebug("Found existing opencode.jsonc at: {ConfigFilePath}", configFilePath); 59_logger.LogDebug("Checking if Aspire MCP server is already configured in opencode.jsonc..."); 63_logger.LogDebug("Adding OpenCode applicator to update existing opencode.jsonc"); 68_logger.LogDebug("Aspire MCP server is already configured"); 77_logger.LogDebug("No opencode.jsonc found, checking for OpenCode CLI installation..."); 82_logger.LogDebug("Found OpenCode CLI version: {Version}", openCodeVersion); 87_logger.LogDebug("Adding OpenCode applicator to create new opencode.jsonc at: {ConfigDirectory}", configDirectory.FullName); 95_logger.LogDebug("OpenCode CLI not found - skipping");
Agents\OpenCode\OpenCodeCliRunner.cs (6)
19logger.LogDebug("Checking for OpenCode CLI installation"); 24logger.LogDebug("OpenCode CLI is not installed or not found in PATH"); 50logger.LogDebug("OpenCode CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("OpenCode CLI returned empty version output"); 71logger.LogDebug("Found OpenCode CLI version: {Version}", version); 75logger.LogDebug("Could not parse OpenCode CLI version from output: {Output}", output.Trim());
Agents\Playwright\PlaywrightCliInstaller.cs (15)
121logger.LogDebug("npm is not available on PATH, skipping Playwright CLI installation."); 143logger.LogDebug("Using version override from '{ConfigKey}': {Version}", VersionOverrideKey, versionOverride); 150logger.LogDebug("Resolving {Package}@{Range} from the public npm registry.", PackageName, effectiveRange); 158logger.LogDebug("Resolved {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version)); 167logger.LogDebug( 176logger.LogDebug( 198logger.LogDebug("Downloading {PackageSpecifier} to {TempDir}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version), tempDir); 213logger.LogDebug("Verifying provenance for {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version)); 236logger.LogDebug( 243logger.LogDebug("Installing {PackageSpecifier} globally.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version)); 282logger.LogDebug("Generating Playwright CLI skill files."); 332logger.LogDebug("Primary skill directory does not exist: {PrimarySkillDir}", primarySkillDir); 349logger.LogDebug("Mirrored playwright-cli skills to {TargetDir}.", targetSkillDir); 381logger.LogDebug("Removed playwright-cli skills from unselected location: {SkillDir}", skillDir); 410logger?.LogDebug("Removed empty directory: {Dir}", parent);
Agents\Playwright\PlaywrightCliRunner.cs (9)
21logger.LogDebug("playwright-cli is not installed or not found in PATH"); 46logger.LogDebug("playwright-cli --version returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 55logger.LogDebug("playwright-cli returned empty version output"); 66logger.LogDebug("Found playwright-cli version: {Version}", version); 70logger.LogDebug("Could not parse playwright-cli version from output: {Output}", versionString); 86logger.LogDebug("playwright-cli is not installed or not found in PATH"); 115logger.LogDebug("playwright-cli install --skills returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 120logger.LogDebug("playwright-cli install --skills output: {Output}", output.Trim()); 144logger.LogDebug("Removed empty .playwright directory from {WorkingDirectory}", workingDirectory);
Agents\VsCode\VsCodeAgentEnvironmentScanner.cs (16)
53_logger.LogDebug("Starting VS Code environment scan in directory: {WorkingDirectory}", context.WorkingDirectory.FullName); 54_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 56_logger.LogDebug("Searching for .vscode folder..."); 61_logger.LogDebug("Found .vscode folder at: {VsCodeFolder}", vsCodeFolder.FullName); 69_logger.LogDebug("Adding VS Code applicator for .vscode folder at: {VsCodeFolder}", vsCodeFolder.FullName); 74_logger.LogDebug("Aspire MCP server is already configured in .vscode/mcp.json"); 82_logger.LogDebug("No .vscode folder found, but VS Code is available on the system"); 89_logger.LogDebug("Adding VS Code applicator for new .vscode folder at: {VsCodeFolder}", targetVsCodeFolder.FullName); 97_logger.LogDebug("No .vscode folder found and VS Code is not available - skipping VS Code configuration"); 111_logger.LogDebug("Checking for VS Code environment variables..."); 114_logger.LogDebug("Found VS Code environment variables"); 119_logger.LogDebug("Checking for VS Code stable CLI..."); 123_logger.LogDebug("Found VS Code stable version: {Version}", vsCodeVersion); 128_logger.LogDebug("Checking for VS Code Insiders CLI..."); 132_logger.LogDebug("Found VS Code Insiders version: {Version}", vsCodeInsidersVersion); 136_logger.LogDebug("VS Code not found on the system");
Agents\VsCode\VsCodeCliRunner.cs (7)
20logger.LogDebug("Checking for VS Code CLI installation using command: {Command}", command); 25logger.LogDebug("VS Code CLI ({Command}) is not installed or not found in PATH", command); 51logger.LogDebug("VS Code CLI ({Command}) returned non-zero exit code {ExitCode}: {Error}", command, process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("VS Code CLI ({Command}) returned empty version output", command); 68logger.LogDebug("VS Code CLI ({Command}) returned no lines in output", command); 82logger.LogDebug("Found VS Code CLI ({Command}) version: {Version}", command, version); 86logger.LogDebug("Could not parse VS Code CLI ({Command}) version from output: {Output}", command, output.Trim());
Backchannel\AppHostAuxiliaryBackchannel.cs (29)
181logger.LogDebug("Connecting to auxiliary backchannel at {SocketPath}", appHostSocket.SocketPath); 197logger.LogDebug("Connected to auxiliary backchannel at {SocketPath}", appHostSocket.SocketPath); 266logger.LogDebug("AppHost capabilities: {Capabilities}", capabilities is not null ? string.Join(", ", capabilities) : "null"); 276logger.LogDebug("AppHost does not support GetCapabilitiesAsync, assuming v1 only"); 296_logger.LogDebug("Requesting AppHost information"); 313_logger.LogDebug("Requesting AppHost to stop"); 324_logger.LogDebug("Stop request sent to AppHost"); 340_logger.LogDebug("Requesting Dashboard URLs"); 378_logger.LogDebug("Waiting for AppHost startup readiness"); 417_logger.LogDebug("Getting resource snapshots"); 466_logger.LogDebug("Starting resource snapshots watch"); 508_logger.LogDebug("Getting resource logs for {ResourceName} (follow={Follow})", resourceName ?? "all resources", follow); 551_logger.LogDebug("Requesting AppHost to call MCP tool {ToolName} on resource {ResourceName}", toolName, resourceName); 593_logger.LogDebug("Getting AppHost info (v2)"); 637_logger.LogDebug("Getting Dashboard info (v2)"); 678_logger.LogDebug("Getting resources (v2)"); 718_logger.LogDebug("Watching resources (v2)"); 820_logger.LogDebug("Getting console log batches (v3) for {ResourceName}", request.ResourceName); 871_logger.LogDebug("Getting console logs (v2) for {ResourceName}", request.ResourceName); 944_logger.LogDebug("Calling MCP tool (v2) {ToolName} on {ResourceName}", request.ToolName, request.ResourceName); 971_logger.LogDebug("Stopping AppHost (v2)"); 1003_logger.LogDebug("Executing command '{CommandName}' on resource '{ResourceName}'", commandName, resourceName); 1022_logger.LogDebug("Command '{CommandName}' on resource '{ResourceName}' completed with success={Success} and message='{Message}'", commandName, resourceName, response.Success, response.Message); 1045_logger.LogDebug("Waiting for resource '{ResourceName}' to reach status '{Status}' with timeout {Timeout}s", resourceName, status, timeoutSeconds); 1061_logger.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.State); 1082_logger?.LogDebug("Getting terminal info for resource '{ResourceName}'", resourceName); 1091_logger?.LogDebug("Terminal info for '{ResourceName}': available={Available}, replicas={ReplicaCount}", 1112_logger?.LogDebug("Listing all terminal-enabled resources."); 1121_logger?.LogDebug("ListTerminals returned {Count} terminal-enabled resource(s).", response.Terminals.Length);
Backchannel\AppHostCliBackchannel.cs (20)
79logger.LogDebug("Requesting stop"); 93logger.LogDebug("Notifying AppHost startup readiness"); 117logger.LogDebug("Requesting dashboard URL"); 165logger.LogDebug("Requesting {OperationName}", operationName); 169logger.LogDebug("Received {OperationName} async enumerable", operationName); 173logger.LogDebug("Connection lost while getting {OperationName}, waiting for reconnect...", operationName); 225logger.LogDebug("Connection lost during enumeration, will restart after reconnect"); 241logger.LogDebug("Ignoring connection lost exception during enumerator disposal"); 290logger.LogDebug("Reconnection completed successfully"); 332logger.LogDebug("Connected to AppHost backchannel at {SocketPath} (retryCount={RetryCount})", socketPath, retryCount); 399logger.LogDebug("Backchannel disconnected but reconnection already in progress, ignoring."); 428logger.LogDebug("Backchannel disconnected: {Reason}", args.Reason); 439logger.LogDebug("Resetting backchannel for reconnection"); 496logger.LogDebug("Requesting capabilities"); 513logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId); 528logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId); 543logger.LogDebug("Requesting pipeline steps."); 552logger.LogDebug("Received {StepCount} pipeline steps.", response.Steps.Length); 561logger.LogDebug("Uploading file {FileName} from {FilePath}", fileName, filePath); 591logger.LogDebug("File uploaded with ID {FileId}", response.FileId);
Backchannel\AppHostConnectionHelper.cs (3)
61logger.LogDebug("Using explicitly selected AppHost: {AppHostPath}", selectedPath); 75logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A"); 99logger.LogDebug(
Backchannel\AuxiliaryBackchannelMonitor.cs (13)
267logger.LogDebug("Current command is not MCP start command. Auxiliary backchannel monitoring disabled."); 296logger.LogDebug("No command selected within timeout. Auxiliary backchannel monitoring not needed."); 384logger.LogDebug("Socket created: {SocketPath}", newSocket.SocketPath); 392logger.LogDebug("Socket deleted: {SocketPath}", removedFile); 434logger.LogDebug("Marked failed socket for retry on next scan: {SocketPath}", failedSocket); 454logger.LogDebug("Already connected to socket: {SocketPath}", socketPath); 483logger.LogDebug("Retrying connection to auxiliary socket: {SocketPath}", socketPath); 516logger.LogDebug("Socket connection refused but file is new ({Age}ms old), will retry: {SocketPath}", (int)socketAge.TotalMilliseconds, socketPath); 522logger.LogDebug("Socket connection refused (stale socket): {SocketPath}", socketPath); 528logger.LogDebug("Socket not ready yet, will retry: {SocketPath}", socketPath); 541logger.LogDebug("Socket connection timed out after {ElapsedSeconds} seconds: {SocketPath}", maxElapsed.TotalSeconds, socketPath); 606logger.LogDebug("Cancelled while establishing the backchannel for socket: {SocketPath}", socketPath); 690logger.LogDebug(
Backchannel\ExtensionBackchannel.cs (31)
160_logger.LogDebug("Starting backchannel connection to Aspire extension at {Endpoint}", endpoint); 171_logger.LogDebug("Connected to ExtensionBackchannel at {Endpoint}", endpoint); 181_logger.LogDebug("Slow polling for backchannel connection (attempt {ConnectionAttempts}), {SocketException}", connectionAttempts, ex); 255_logger.LogDebug("Connecting to {Name} backchannel at {SocketPath}", Name, endpoint); 265_logger.LogDebug("Connected to {Name} backchannel at {SocketPath}", Name, endpoint); 356_logger.LogDebug("Sent message {Message}", message); 372_logger.LogDebug("Sent message {Message} with {ActionCount} actions", message, actions.Length); 388_logger.LogDebug("Sent success message {Message}", message); 404_logger.LogDebug("Sent subtle message {Message}", message); 420_logger.LogDebug("Sent error message {Error}", error); 436_logger.LogDebug("Sent error message with {ActionCount} actions", actions.Length); 452_logger.LogDebug("Sent empty line"); 468_logger.LogDebug("Sent incompatible version error for capability {RequiredCapability} with hosting SDK version {AppHostHostingSdkVersion}", 485_logger.LogDebug("Sent cancellation message"); 501_logger.LogDebug("Sent lines for display"); 517_logger.LogDebug("Sent dashboard URLs for display"); 533_logger.LogDebug("Sent status update: {Status}", status); 554_logger.LogDebug("Prompting for selection with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys); 584_logger.LogDebug("Prompting for multiple selections with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys); 609_logger.LogDebug("Prompting for confirmation with text: {PromptText}, default value: {DefaultValue}", promptText, defaultValue); 635_logger.LogDebug("Prompting for string with text: {PromptText}, default value: {DefaultValue}, required: {Required}", promptText, defaultValue, required); 661_logger.LogDebug("Prompting for secret string with text: {PromptText}, required: {Required}", promptText, required); 685_logger.LogDebug("Prompting for file path with text: {PromptText}, default value: {DefaultValue}, directory: {Directory}", promptText, defaultValue, directory); 703_logger.LogDebug("Opening path: {Path}", path); 738_logger.LogDebug("Sent plain text message {Message}", text); 754_logger.LogDebug("Sent debug session message {Message}", message); 790_logger.LogDebug("Requesting capabilities from the extension"); 808_logger.LogDebug("Running project at {ProjectFile} with {ArgumentCount} arguments", projectFile, arguments.Count); 824_logger.LogDebug("Notifying that app host startup is completed"); 841_logger.LogDebug("Starting extension debugging session in directory {WorkingDirectory} for project file {ProjectFile} with command={Command} debug={Debug}", 858_logger.LogDebug("Stopping extension debugging session");
Backchannel\OrphanedAppHostCollector.cs (2)
65logger.LogDebug( 73logger.LogDebug(
Backchannel\ResourceSnapshotWatcher.cs (1)
192_logger.LogDebug(
Bundles\BundleService.cs (19)
90logger.LogDebug("Ensuring bundle is extracted to {ExtractDir}.", extractDir); 128logger.LogDebug("Could not resolve an active bundle version under {ExtractDir}.", extractDir); 152logger.LogDebug("No embedded bundle payload."); 158logger.LogDebug("Acquiring bundle extraction lock at {LockPath}...", lockPath); 160logger.LogDebug("Bundle extraction lock acquired."); 176logger.LogDebug("Bundle already extracted and up to date (version: {Version}).", existingVersion); 180logger.LogDebug("Version mismatch: existing={ExistingVersion}, current={CurrentVersion}. Re-extracting.", existingVersion, currentVersion); 196logger.LogDebug("No embedded bundle payload, skipping extraction."); 203logger.LogDebug("ProcessPath is null or empty, skipping bundle extraction."); 223logger.LogDebug("Could not determine extraction directory from {ProcessPath}, skipping.", processPath); 247logger.LogDebug("Versioned layout {Path} not valid or missing; extracting fresh.", activeVersionDir); 255logger.LogDebug("Reusing existing versioned layout at {Path}.", activeVersionDir); 284logger.LogDebug("Version marker written (version: {Version}).", currentVersion); 302logger.LogDebug("Bundle extraction verified successfully."); 335logger.LogDebug("Payload extraction into {Path} completed in {ElapsedMs}ms.", tempDir, sw.ElapsedMilliseconds); 415logger.LogDebug( 530logger.LogDebug("Migrating legacy directory at {Path} to {Renamed}.", linkPath, renamedPath); 545logger.LogDebug("Linked {Link} -> {Target}", linkPath, target); 748logger.LogDebug("Removed legacy directory at {Path}.", legacyPath);
Certificates\CertificateGeneration\CertificateManager.cs (63)
1105_logger.LogDebug("Listing certificates from {Location}\\{StoreName}", location, storeName); 1109_logger.LogDebug("Found certificates: {MatchingCertificates}", matchingCertificates); 1113_logger.LogDebug("Checking certificates validity"); 1117_logger.LogDebug("Valid certificates: {ValidCertificates}", validCertificates); 1121_logger.LogDebug("Invalid certificates: {InvalidCertificates}", invalidCertificates); 1125_logger.LogDebug("Finished listing certificates."); 1133_logger.LogDebug("Filtered certificates: {FilteredCertificates}", filteredCertificates); 1137_logger.LogDebug("Excluded certificates: {ExcludedCertificates}", excludedCertificates); 1141_logger.LogDebug("Valid certificates: {Certificates}", certificates); 1145_logger.LogDebug("Selected certificate: {Certificate}", certificate); 1149_logger.LogDebug("No valid certificates found."); 1153_logger.LogDebug("Generating HTTPS development certificate."); 1157_logger.LogDebug("Finished generating HTTPS development certificate."); 1165_logger.LogDebug("Saving certificate '{Certificate}' to store {Location}\\{StoreName}.", certificate, location, name); 1169_logger.LogDebug("Finished saving certificate to the store."); 1177_logger.LogDebug("Saving certificate '{Certificate}' to {Path} {PrivateKey} private key.", certificate, path, includePrivateKey ? "with" : "without"); 1181_logger.LogDebug("Exporting certificate with private key but no password."); 1185_logger.LogDebug("Creating directory {Path}.", path); 1193_logger.LogDebug("Writing the certificate to: {Path}.", path); 1201_logger.LogDebug("Trusting the certificate to: {Certificate}.", certificate); 1205_logger.LogDebug("Finished trusting the certificate."); 1213_logger.LogDebug("Running the trust command {Command}.", command); 1217_logger.LogDebug("Finished running the trust command."); 1225_logger.LogDebug("Running the remove trust command for {Certificate}.", certificate); 1229_logger.LogDebug("Finished running the remove trust command."); 1237_logger.LogDebug("The certificate is not trusted: {Certificate}.", certificate); 1241_logger.LogDebug("Removing the certificate from the keychain {KeyChain} {Certificate}.", keyChain, certificate); 1245_logger.LogDebug("Finished removing the certificate from the keychain."); 1253_logger.LogDebug("Removing the certificate from the user store {Certificate}.", certificate); 1257_logger.LogDebug("Finished removing the certificate from the user store."); 1265_logger.LogDebug("Adding certificate to the trusted root certification authority store."); 1269_logger.LogDebug("The certificate is already trusted."); 1273_logger.LogDebug("Trusting the certificate was cancelled by the user."); 1277_logger.LogDebug("Removing the certificate from the trusted root certification authority store."); 1281_logger.LogDebug("Finished removing the certificate from the trusted root certification authority store."); 1285_logger.LogDebug("The certificate was not trusted."); 1289_logger.LogDebug("Correcting the the certificate state for '{Certificate}'.", certificate); 1293_logger.LogDebug("Finished correcting the certificate state."); 1301_logger.LogDebug("Importing the certificate {Certificate} to the keychain '{Keychain}'.", certificate, keychain); 1305_logger.LogDebug("Finished importing the certificate to the keychain."); 1313_logger.LogDebug("Writing the certificate to: {Path}.", path); 1329_logger.LogDebug("Loading certificate from path '{CertificatePath}'.", certificatePath); 1333_logger.LogDebug("The certificate '{Description}' has been loaded successfully.", description); 1345_logger.LogDebug("The certificate is already trusted."); 1349_logger.LogDebug("Saving the certificate {Certificate} to the user profile folder '{Directory}'.", certificate, directory); 1353_logger.LogDebug("Finished saving the certificate to the user profile folder."); 1373_logger.LogDebug("Reading OpenSSL trusted certificates location from {NssDbOverrideVariableName}.", nssDbOverrideVariableName); 1377_logger.LogDebug("Reading NSS database locations from {EnvironmentVariable}.", environmentVariable); 1397_logger.LogDebug("Home directory '{HomeDirectory}' does not exist. Unable to discover NSS databases for user '{Username}'. This will likely affect browsers.", homeDirectory, username); 1401_logger.LogDebug("OpenSSL reported its directory in an unexpected format."); 1405_logger.LogDebug("Unable to determine the OpenSSL directory."); 1409_logger.LogDebug("Unable to determine the OpenSSL directory: {ExceptionMessage}.", exceptionMessage); 1433_logger.LogDebug("Trusted the certificate in .NET."); 1441_logger.LogDebug("Trusted the certificate in OpenSSL."); 1449_logger.LogDebug("Trusted the certificate in the NSS database in '{Path}'.", path); 1461_logger.LogDebug("Untrusted the certificate in OpenSSL."); 1469_logger.LogDebug("Removed the certificate from the NSS database in '{Path}'.", path); 1493_logger.LogDebug("No Firefox profiles found in directory '{FirefoxDirectory}'.", firefoxDirectory); 1513_logger.LogDebug("Untrusting the certificate in OpenSSL was skipped since '{CertPath}' does not exist.", certPath); 1537_logger.LogDebug("The certificate directory '{CertDir}' is already included in the {EnvVarName} environment variable.", certDir, envVarName); 1545_logger.LogDebug("Successfully trusted the certificate in the Windows certificate store via WSL."); 1557_logger.LogDebug("Meets minimum version certificates: {MeetsMinimumVersionCertificates}", meetsMinimumVersionCertificates); 1561_logger.LogDebug("Below minimum version certificates: {BelowMinimumVersionCertificates}", belowMinimumVersionCertificates);
Certificates\CertificateService.cs (2)
215logger.LogDebug("Exported dev certificate public PEM to {Path}", result); 219logger.LogDebug("No valid dev certificate found to export as PEM");
Certificates\NativeCertificateToolRunner.cs (5)
201logger.LogDebug("Searching for a trusted ASP.NET Core development certificate to export"); 227logger.LogDebug("No trusted ASP.NET Core development certificate was available to export"); 231logger.LogDebug( 251logger.LogDebug("Reusing cached development certificate PEM at {Path}", outputPath); 255logger.LogDebug("Writing development certificate PEM to cache at {Path}", outputPath);
Commands\AgentMcpCommand.cs (4)
166_logger.LogDebug("MCP ListTools request received"); 182_logger.LogDebug("Dashboard-only mode: skipping resource tool discovery"); 211_logger.LogDebug("Returning {ToolCount} tools", tools.Count); 220_logger.LogDebug("MCP CallTool request received for tool: {ToolName}", toolName);
Commands\AppHostLauncher.cs (6)
200logger.LogDebug("Starting AppHost in background: {AppHostPath}", effectiveAppHostFile.FullName); 315logger.LogDebug("Found {Count} running instance(s) for this AppHost, stopping them first.", existingSockets.Count); 372logger.LogDebug("Spawning child CLI: {Executable} (isDotnetHost={IsDotnetHost}) with args: {Args}", 374logger.LogDebug("Working directory: {WorkingDirectory}", executionContext.WorkingDirectory.FullName); 485logger.LogDebug("Child CLI process started with PID: {PID}", childProcess.ProcessId); 575logger.LogDebug(
Commands\DashboardRunCommand.cs (1)
394_logger.LogDebug("Starting dashboard in foreground: {ManagedPath}", managedPath);
Commands\DcpWorkloadCleanupService.cs (2)
49logger.LogDebug("DCP cleanup stdout: {Output}", output.Trim()); 54logger.LogDebug("DCP cleanup stderr: {Error}", error.Trim());
Commands\DocsGetCommand.cs (1)
59_logger.LogDebug("Getting documentation for slug '{Slug}' (section: {Section})", slug, section ?? "(all)");
Commands\DocsListCommand.cs (1)
47_logger.LogDebug("Listing documentation pages");
Commands\DocsSearchCommand.cs (1)
61_logger.LogDebug("Searching documentation for '{Query}' (limit: {Limit})", query, limit);
Commands\InstallationInfoOutput.cs (2)
75logger.LogDebug("Discovering Aspire CLI installations for doctor output."); 77logger.LogDebug("Discovered {InstallationCount} Aspire CLI installation(s) for doctor output.", installations.Count);
Commands\RenderCommand.cs (1)
418logger.LogDebug("Background log #{Counter} written while prompt is active", counter);
Commands\ResourceCommandHelper.cs (2)
43logger.LogDebug("{Verb} resource '{ResourceName}'", progressVerb, resourceName); 72logger.LogDebug("Executing command '{CommandName}' on resource '{ResourceName}'", commandName, resourceName);
Commands\RestoreCommand.cs (4)
94_logger.LogDebug( 133_logger.LogDebug("Restoring packages for {AppHost} in {Directory}", effectiveAppHostFile.FullName, appHostDirectory.FullName); 153_logger.LogDebug("Restoring SDK code for {AppHost} in {Directory}", effectiveAppHostFile.FullName, directory.FullName); 221_logger.LogDebug("Configured AppHost language '{Language}' is not available for config-only restore in {Directory}", config.AppHost.Language, searchDirectory.FullName);
Commands\Sdk\SdkDumpCommand.cs (5)
129_logger.LogDebug("Parsed package reference {PackageName} version {Version}", packageName, packageVersion); 176_logger.LogDebug("Building AppHost server for capability scanning with {Count} integrations", integrations.Count); 209_logger.LogDebug("Fetching capabilities via RPC"); 275_logger.LogDebug("Building AppHost server for batched capability scanning with {Count} integrations", integrations.Count); 379_logger.LogDebug("{Message}{Location}", diag.Message, location);
Commands\Sdk\SdkGenerateCommand.cs (3)
137_logger.LogDebug("Building AppHost server for SDK generation"); 166_logger.LogDebug("Generating {Language} SDK via RPC", languageInfo.CodeGenerator); 188_logger.LogDebug("Wrote {FileName}", fileName);
Commands\StopCommand.cs (5)
438_logger.LogDebug("Collected {Count} orphaned AppHost(s) before stopping the rest.", collected); 452_logger.LogDebug("Found {Count} running AppHost(s) to stop", allConnections.Length); 468_logger.LogDebug("Queuing stop for AppHost: {AppHostPath}", appHostPath); 475_logger.LogDebug("Stop all completed. All stopped: {AllStopped}", allStopped); 490_logger.LogDebug("Stopping AppHost: {AppHostPath}", appHostPath);
Commands\TelemetrySpansCommand.cs (1)
138_logger.LogDebug("Fetching spans from {Url}", url);
Commands\TelemetryTracesCommand.cs (2)
135_logger.LogDebug("Fetching trace {TraceId} from {Url}", traceId, url); 204_logger.LogDebug("Fetching traces from {Url}", url);
Commands\TerminalPsCommand.cs (2)
79_logger.LogDebug( 141_logger.LogDebug(
Commands\UpdateCommand.cs (4)
283_logger.LogDebug("Using channel '{ChannelName}' from configuration.", channel.Name); 317_logger.LogDebug("Defaulting to identity channel '{ChannelName}'.", identityMatch.Name); 807_logger.LogDebug("Creating backup: {BackupPath}", backupPath); 824_logger.LogDebug("Testing new CLI executable and displaying version");
Commands\WaitCommand.cs (1)
109_logger.LogDebug("Waiting for resource '{ResourceName}' to reach status '{Status}' with timeout {Timeout}s", resourceName, status, timeoutSeconds);
Configuration\ConfigurationService.cs (1)
136logger.LogDebug("No existing settings file found, defaulting to {Path}", defaultPath);
Configuration\Features.cs (2)
27logger.LogDebug("Feature {Feature} parsed value: {Enabled}", feature, enabled); 36logger.LogDebug("Feature {Feature} = {Value} (default: {DefaultValue})", metadata.Name, value, metadata.DefaultValue);
Documentation\ApiDocs\ApiDocsIndexService.cs (1)
366_logger.LogDebug("Loading Aspire API documentation index");
Documentation\CachedHttpDocumentFetcher.cs (5)
45logger.LogDebug("Fetching content from {Url}, cached ETag: {ETag}", url, cachedETag ?? "(none)"); 50logger.LogDebug("Server returned 304 Not Modified for {Url}", url); 58logger.LogDebug("Cached ETag exists but cached content is missing for {Url}; clearing ETag and retrying", url); 83logger.LogDebug("Stored new ETag for {Url}: {ETag}", url, newETag); 101logger.LogDebug("Returning cached content for {Url} after fetch failure", url);
Documentation\Docs\DocsIndexService.cs (1)
169_logger.LogDebug("Loading aspire.dev documentation");
Documentation\Docs\DocsSearchService.cs (1)
138_logger.LogDebug("Search for '{Query}' returned {Count} results", query, searchResults.Count);
Documentation\FileBackedDocumentContentCache.cs (15)
37_logger.LogDebug("Content cache memory hit for key: {Key}", key); 45_logger.LogDebug("Content cache disk hit for key: {Key}", key); 49_logger.LogDebug("Content cache miss for key: {Key}", key); 65_logger.LogDebug("Content cache set for key: {Key}", key); 81_logger.LogDebug("ETag cache memory hit for key: {Key}", key); 90_logger.LogDebug("ETag cache disk hit for key: {Key}", key); 94_logger.LogDebug("ETag cache miss for key: {Key}", key); 113_logger.LogDebug("ETag cache cleared for key: {Key}", key); 119_logger.LogDebug("ETag cache set for key: {Key}", key); 133_logger.LogDebug("Content cache invalidated key: {Key}", key); 148_logger.LogDebug("JSON cache invalidated key: {Key}", key); 183_logger.LogDebug("JSON cache memory hit for key: {Key}", key); 192_logger.LogDebug("JSON cache miss for key: {Key}", key); 201_logger.LogDebug("JSON cache disk hit for key: {Key}", key); 244_logger.LogDebug("JSON cache set for key: {Key}", key);
DotNet\DotNetCliRunner.cs (6)
497logger.LogDebug("Using private SDK installation at {SdkPath}", sdkInstallPath); 518logger.LogDebug("Starting backchannel connection to AppHost at {SocketPath}", socketPath); 541logger.LogDebug("Connected to AppHost backchannel at {SocketPath}", socketPath); 1171logger.LogDebug("dotnet new uninstall {PackageName} returned {ExitCode} before local reinstall.", packageName, exitCode); 1441logger.LogDebug("NuGet config file not found at path: {Path}", filePath); 1593logger.LogDebug(
DotNet\ProcessExecution.cs (8)
147_logger.LogDebug("{FileName}({ProcessId}) started in {WorkingDirectory}", _fileName, process.Id, _startInfo.WorkingDirectory); 190_logger.LogDebug("Launching detached child process through DCP fork-process: {DcpPath}", dcpExecutable.ExecutablePath); 204_logger.LogDebug("{FileName}({ProcessId}) waiting for exit", _fileName, process.Id); 212_logger.LogDebug("{FileName}({ProcessId}) wait was canceled, stopping it", _fileName, process.Id); 228_logger.LogDebug("{FileName}({ProcessId}) exited with code: {ExitCode}", _fileName, process.Id, process.ExitCode); 393_logger.LogDebug("{FileName} process {ProcessId} already exited.", _fileName, process.Id); 407_logger.LogDebug( 614_logger.LogDebug("{FileName}({ProcessId}) output drained", _fileName, process.Id);
DotNet\ProcessExecutionFactory.cs (3)
60effectiveLogger.LogDebug("Running {FileName} in {WorkingDirectory} with args: {Args}", fileName, workingDirectory.FullName, loggableArgs); 66effectiveLogger.LogDebug("{FileName} env: {EnvKey}={EnvValue}", fileName, envKvp.Key, envKvp.Value); 109effectiveLogger.LogDebug("Running {FileName} in {WorkingDirectory} with args: {Args}", startInfo.FileName, startInfo.WorkingDirectory, AppHostArgumentRedactor.RedactToString(startInfo.ArgumentList));
Git\GitRepository.cs (9)
22logger.LogDebug("Searching for Git repository root from working directory: {WorkingDirectory}", executionContext.WorkingDirectory.FullName); 59logger.LogDebug("Git command returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 67logger.LogDebug("Git command returned empty output"); 74logger.LogDebug("Found Git repository root: {GitRoot}", directoryInfo.FullName); 78logger.LogDebug("Git repository root path does not exist: {GitRoot}", rootPath); 97logger.LogDebug("Search root does not exist: {SearchRoot}", searchRoot.FullName); 101logger.LogDebug("Listing git-included files under: {SearchRoot}", searchRoot.FullName); 145logger.LogDebug("git ls-files returned non-zero exit code {ExitCode} from {SearchRoot}: {Error}", process.ExitCode, searchRoot.FullName, errorOutput.Trim()); 169logger.LogDebug("git ls-files returned {Count} files under {SearchRoot}", includedFiles.Count, searchRoot.FullName);
Layout\LayoutDiscovery.cs (34)
60_logger.LogDebug("Found ASPIRE_LAYOUT_PATH: {Path}", envLayoutPath); 72_logger.LogDebug("Discovered layout relative to CLI: {Path}", relativeLayout.LayoutPath); 87_logger.LogDebug("Discovered layout in Aspire home: {Path}", aspireHomeLayout.LayoutPath); 91_logger.LogDebug("No bundle layout discovered"); 113_logger.LogDebug("TryDiscoverAspireHomeLayout: Checking Aspire home {Path}...", aspireHome); 144_logger.LogDebug("SDK mode forced via {EnvVar}", BundleDiscovery.UseGlobalDotNetEnvVar); 160_logger.LogDebug("TryLoadLayoutFromPath: {Path}", layoutPath); 164_logger.LogDebug("Layout path does not exist: {Path}", layoutPath); 168_logger.LogDebug("Layout path exists, checking directory structure..."); 174_logger.LogDebug("Layout directory contents: {Contents}", string.Join(", ", entries)); 178_logger.LogDebug("Could not list directory contents: {Error}", ex.Message); 190_logger.LogDebug("TryDiscoverRelativeLayout: ProcessPath is null or empty"); 197_logger.LogDebug("TryDiscoverRelativeLayout: Resolved CLI path {RawPath} -> {ResolvedPath}", cliPath, resolvedCliPath); 205_logger.LogDebug("TryDiscoverRelativeLayout: No layout found relative to resolved CLI path; trying raw path {Path}.", cliPath); 216_logger.LogDebug("TryDiscoverRelativeLayout: Could not get directory from process path {Path}", cliPath); 220_logger.LogDebug("TryDiscoverRelativeLayout: CLI at {Path}, checking for layout...", cliDir); 236_logger.LogDebug("TryDiscoverRelativeLayout: Checking parent directory {Path}...", parentDir); 256_logger.LogDebug("TryInferLayout: Checking layout at {Path}", layoutPath); 257_logger.LogDebug(" {Dir}/{Managed}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.ManagedDirectoryName, Directory.Exists(bundleManagedPath) ? "exists" : "MISSING"); 258_logger.LogDebug(" {Dir}/{Dcp}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DcpDirectoryName, Directory.Exists(bundleDcpPath) ? "exists" : "MISSING"); 263_logger.LogDebug(" {Dir}/{Managed}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.ManagedDirectoryName, managedExeName, File.Exists(bundleManagedExe) ? "exists" : "MISSING"); 264_logger.LogDebug(" {Dir}/{Dcp}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DcpDirectoryName, Path.GetFileName(bundleDcpExe), File.Exists(bundleDcpExe) ? "exists" : "MISSING"); 268_logger.LogDebug("TryInferLayout: New bundle/ layout is valid"); 286_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.ManagedDirectoryName, Directory.Exists(managedPath) ? "exists" : "MISSING"); 287_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DcpDirectoryName, Directory.Exists(dcpPath) ? "exists" : "MISSING"); 291_logger.LogDebug("TryInferLayout: Layout rejected - missing required directories"); 297_logger.LogDebug(" managed/{ManagedExe}: {Exists}", managedExeName, File.Exists(managedExePath) ? "exists" : "MISSING"); 298_logger.LogDebug(" dcp/{DcpExe}: {Exists}", Path.GetFileName(dcpExePath), File.Exists(dcpExePath) ? "exists" : "MISSING"); 302_logger.LogDebug("TryInferLayout: Layout rejected - required executable not found"); 306_logger.LogDebug("TryInferLayout: Legacy layout is valid"); 323_logger.LogDebug("DCP path override from {EnvVar}", BundleDiscovery.DcpPathEnvVar); 327_logger.LogDebug("Managed path override from {EnvVar}", BundleDiscovery.ManagedPathEnvVar); 339_logger.LogDebug("Layout validation failed: aspire-managed not found at {Path}", managedPath); 349_logger.LogDebug("Layout validation failed: DCP not found");
Mcp\McpResourceToolRefreshService.cs (4)
77_logger.LogDebug("Refreshing resource tool map."); 93_logger.LogDebug("Resources with MCP tools received: {Count}", resourcesWithTools.Count); 109_logger.LogDebug("{Tool}: {Description}", exposedName, tool.Description); 115_logger.LogDebug("Unable to refresh resource tool map because there's no selected connection.");
Mcp\Tools\ExecuteResourceCommandTool.cs (1)
102logger.LogDebug("Executing command '{CommandName}' on resource '{ResourceName}' via backchannel", commandName, resourceName);
Mcp\Tools\ListStructuredLogsTool.cs (1)
97logger.LogDebug("Fetching structured logs from {Url}", url);
Mcp\Tools\ListTracesTool.cs (1)
97logger.LogDebug("Fetching traces from {Url}", url);
Mcp\Tools\ListTraceStructuredLogsTool.cs (1)
87logger.LogDebug("Fetching structured logs from {Url}", url);
Npm\NpmRunner.cs (16)
42logger.LogDebug("Resolving npm package {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, versionRange)); 59logger.LogDebug("Failed to resolve version for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, versionRange)); 65logger.LogDebug("Could not extract version from npm output: {Output}", versionOutput.Trim()); 71logger.LogDebug("Could not parse npm version from output: {Output}", versionString); 75logger.LogDebug("Resolved {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version)); 97logger.LogDebug("Packing npm package {PackageSpecifier} to {OutputDirectory}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), outputDirectory); 107logger.LogDebug("Failed to pack {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version)); 115logger.LogDebug("npm pack returned empty filename"); 122logger.LogDebug("npm pack output file not found: {Path}", tarballPath); 126logger.LogDebug("Packed {PackageSpecifier} to {TarballPath}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), tarballPath); 140logger.LogDebug("Installing npm package globally from {TarballPath}", tarballPath); 158logger.LogDebug("Failed to install npm package globally from {TarballPath}", tarballPath); 162logger.LogDebug("Successfully installed npm package globally from {TarballPath}", tarballPath); 176logger.LogDebug("npm is not installed or not found in PATH"); 287logger.LogDebug("Running npm {Args} in {WorkingDirectory}", argsString, workingDirectory); 319logger.LogDebug("npm {Args} returned non-zero exit code {ExitCode}: {Error}", argsString, process.ExitCode, errorOutput.Trim());
Npm\SigstoreNpmProvenanceChecker.cs (9)
70_logger.LogDebug("Verifying provenance for {PackageSpecifier} from {ExpectedSourceRepository}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), expectedSourceRepository); 75_logger.LogDebug("Attestation fetch failed for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version)); 86_logger.LogDebug("SLSA bundle extraction failed for {PackageSpecifier}: {Outcome}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), outcome); 122_logger.LogDebug( 133_logger.LogDebug("Failed to extract provenance data from verified result for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version)); 141_logger.LogDebug("Provenance verification for {PackageSpecifier} completed with outcome {Outcome}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), result.Outcome); 157_logger.LogDebug("Fetching attestations from {Url}", url); 162_logger.LogDebug("Failed to fetch attestations: HTTP {StatusCode}", response.StatusCode); 278_logger.LogDebug(
NuGet\BundleNuGetPackageCache.cs (6)
185_logger.LogDebug("Running NuGet search via aspire-managed: {Query}", query); 186_logger.LogDebug("aspire-managed path: {ManagedPath}", managedPath); 187_logger.LogDebug("NuGet search args: {Args}", string.Join(" ", args)); 188_logger.LogDebug("Working directory: {WorkingDir}", workingDirectory.FullName); 207_logger.LogDebug("NuGetHelper stderr: {Error}", error); 218_logger.LogDebug("NuGet search returned {Length} bytes", output?.Length ?? 0);
NuGet\BundleNuGetService.cs (9)
120_logger.LogDebug("Using cached package manifest at {Path}", manifestPath); 173_logger.LogDebug("Restoring {Count} packages", packageList.Count); 174_logger.LogDebug("aspire-managed path: {ManagedPath}", managedPath); 181_logger.LogDebug("NuGet restore args: {Args}", string.Join(" ", BuildRedactedArgsForLog(restoreArgs))); 201_logger.LogDebug("NuGetHelper restore stderr: {Error}", error); 235_logger.LogDebug("Creating package manifest from {AssetsPath}", assetsPath); 236_logger.LogDebug("NuGet manifest args: {Args}", string.Join(" ", manifestArgs)); 250_logger.LogDebug("NuGetHelper manifest stderr: {Error}", error); 261_logger.LogDebug("Package manifest created at {Path}", manifestPath);
OpenCode\OpenCodeCliRunner.cs (5)
19logger.LogDebug("Checking for OpenCode CLI installation"); 43logger.LogDebug("OpenCode CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 52logger.LogDebug("OpenCode CLI returned empty version output"); 64logger.LogDebug("Found OpenCode CLI version: {Version}", version); 68logger.LogDebug("Could not parse OpenCode CLI version from output: {Output}", output.Trim());
Packaging\PackagingService.cs (1)
240_logger.LogDebug(
Processes\LauncherLivenessMonitor.cs (1)
49logger.LogDebug("Detached child: watching launcher process {LauncherPid} until the AppHost is ready.", launcherPid);
Processes\ProcessTreeGracefulShutdownService.cs (8)
124logger.LogDebug("Forcing remaining shutdown handle process {Pid} to terminate.", process.Pid); 152logger.LogDebug("Sending graceful shutdown to AppHost PID {Pid}", appHostInfo.ProcessId); 163logger.LogDebug("Requesting AppHost process tree shutdown via root CLI PID {Pid}", cliPid); 178logger.LogDebug("RPC stop not available, requesting shutdown via AppHost PID {Pid}", appHostInfo.ProcessId); 247logger.LogDebug("Sending stop signal to process {Pid}", target.Pid); 313logger.LogDebug("DCP stop-process-tree stdout: {Output}", output.Trim()); 318logger.LogDebug("DCP stop-process-tree stderr: {Error}", error.Trim()); 383logger.LogDebug("Killing process {Pid} (entireProcessTree={EntireProcessTree})...", target.Pid, killEntireProcessTree);
Program.cs (2)
1169logger.LogDebug("Parsing arguments: {Args}", loggableArgs); 1176logger.LogDebug("Executing command: {CommandName}", commandName);
Projects\AppHostCandidateFinder.cs (2)
132logger.LogDebug("Using git-included file list ({Count} entries) as discovery source.", includedPaths.Count); 148logger.LogDebug("Git enumeration unavailable for {SearchDirectory}; falling back to filesystem walk.", searchDirectory.FullName);
Projects\AppHostProjectFactory.cs (3)
44_logger.LogDebug("TryGetProject called for file: {AppHostFile}", appHostFile.FullName); 49_logger.LogDebug("No language found for file: {AppHostFile}", appHostFile.FullName); 53_logger.LogDebug("Language detected: {LanguageId} for file: {AppHostFile}", language.LanguageId.Value, appHostFile.FullName);
Projects\DotNetAppHostProject.cs (11)
1823_logger.LogDebug("Falling back to dotnet run for {Project}; direct AppHost launch is disabled by configuration.", effectiveAppHostFile.FullName); 1867_logger.LogDebug( 1895_logger.LogDebug( 1904_logger.LogDebug( 1924_logger.LogDebug( 1933_logger.LogDebug( 1943_logger.LogDebug( 1957_logger.LogDebug( 2009_logger.LogDebug( 2017_logger.LogDebug( 2598_logger.LogDebug("AspireUseCliBundle is enabled, but the Aspire CLI bundle layout was not available from this CLI process. The AppHost will resolve configured, inherited, or assembly-metadata paths.");
Projects\DotNetBasedAppHostServerProject.cs (2)
427_logger.LogDebug("AppHostServer scaffold is up to date; preserving restore artifacts in {ProjectModelPath}", _projectModelPath); 664_logger.LogDebug("Enabling debug logging for AppHostServer");
Projects\FallbackProjectParser.cs (1)
41_logger.LogDebug("Parsing project file '{ProjectFile}' using fallback parser", projectFile.FullName);
Projects\GuestAppHostProject.cs (19)
140_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion); 145_logger.LogDebug("Using default SDK version: {Version}", defaultSdkVersion); 373_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName); 381_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}", 388_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName); 398_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName); 951_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName); 957_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath); 1013_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath); 1062_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count); 1072_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName); 1335_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath); 1351_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath); 1366_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath); 1370_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath); 1418_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown."); 1659_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count); 1885_logger.LogDebug( 2102_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
Projects\GuestRuntime.cs (5)
99_logger.LogDebug("No initialization configured for {Language}", _spec.Language); 145_logger.LogDebug("No dependency installation configured for {Language}", _spec.Language); 293_logger.LogDebug("Skipping up-to-date pre-execution command: {Command}", commandSpec.Command); 297_logger.LogDebug("Launching pre-execution command: {Command} {Args}", commandSpec.Command, string.Join(" ", args)); 588_logger.LogDebug("Launching: {Command} {Args}", commandSpec.Command, string.Join(" ", args));
Projects\JavaAppHostToolchainResolver.cs (1)
116logger?.LogDebug(
Projects\PrebuiltAppHostServer.cs (8)
308_logger.LogDebug("Restoring {Count} integration packages via bundled NuGet", packageRefs.Count); 795_logger.LogDebug("Building integration project with {PackageCount} packages and {ProjectCount} project references (restore {RestoreState})", 801_logger.LogDebug("Integration project build failed on the restore assets; retrying with restore. First attempt output:\n{BuildOutput}", 978_logger.LogDebug("Resolved channel: {Channel}", channelName); 1286_logger.LogDebug("Using local package source '{Source}' for channel '{Channel}'.", source, requestedChannel); 1375_logger.LogDebug("PrebuiltAppHostServer({ProcessId}) stdout: {Line}", execution.ProcessId, line); 1459_logger.LogDebug("Setting {EnvironmentVariable} to {Path}", KnownConfigNames.IntegrationLibsPath, _integrationLibsPath); 1469_logger.LogDebug(
Projects\ProcessGuestLauncher.cs (3)
66_logger.LogDebug("{ExecutingCommandPrefix}{Command} {Args}", CliLogFormat.MessagePrefixes.Executing, resolvedCommand, string.Join(" ", args)); 148_logger.LogDebug("{Language} guest process {ProcessId} started: {Command}", _language, execution.ProcessId, resolvedCommand); 178_logger.LogDebug("{Language} guest process {ProcessId} exited with code {ExitCode}", _language, execution.ProcessId, finalExitCode);
Projects\ProjectLocator.cs (30)
299logger.LogDebug("Searching for project files in {SearchDirectory}", searchDirectory.FullName); 329logger.LogDebug("Searching for patterns: {Patterns}", string.Join(", ", allPatterns)); 332logger.LogDebug("NuGet cache path to exclude: {NuGetCachePath}", nugetCachePath ?? "(none)"); 342logger.LogDebug("Found {CandidateCount} files matching pattern '{Pattern}'", candidateCountsByPattern[pattern], pattern); 345logger.LogDebug("Found {CandidateCount} unique candidate files matching AppHost detection patterns", candidateFiles.Length); 349logger.LogDebug("Checking candidate file {CandidateFile}", candidateFile.FullName); 390logger.LogDebug("Found {Language} apphost {CandidateFile}", handler.DisplayName, candidateFile.FullName); 416logger.LogDebug("Skipping unsupported project {CandidateFile}", candidateFile.FullName); 445logger.LogDebug("Stopping AppHost discovery early after finding multiple valid AppHost projects."); 512logger.LogDebug("Skipping configured AppHost project {SettingsAppHost} because no project handler was found.", settingsAppHost.FullName); 548logger.LogDebug("Skipping unsupported configured AppHost project {SettingsAppHost}", settingsAppHost.FullName); 883logger.LogDebug("Finding project file in {CurrentDirectory}", executionContext.WorkingDirectory); 891logger.LogDebug("Provided path {Path} is a directory, searching for project files recursively", projectFile.FullName); 930logger.LogDebug( 958logger.LogDebug("Found single AppHost project file {ProjectFile} in directory {Directory}", appHostProjects[0].FullName, directory.FullName); 965logger.LogDebug("Multiple AppHost project files found in directory {Directory}, prompting user to select", directory.FullName); 976logger.LogDebug("Multiple AppHost project files found in directory {Directory}, selecting none", directory.FullName); 997logger.LogDebug( 1023logger.LogDebug("Using {Language} apphost {ProjectFile}", handler.DisplayName, projectFile.FullName); 1043logger.LogDebug( 1071logger.LogDebug("Using AppHost path from settings without scanning: {AppHost}", settingsAppHost.FullName); 1083logger.LogDebug("No project file specified, searching for apphost projects in {CurrentDirectory}", executionContext.WorkingDirectory); 1094logger.LogDebug("Found {ProjectFileCount} project files.", results.BuildableAppHost.Count); 1151logger.LogDebug("Using previously-selected AppHost from settings: {AppHost}", settingsAppHost.FullName); 1262logger.LogDebug( 1273logger.LogDebug( 1282logger.LogDebug("Creating settings file at {SettingsFilePath}", settingsFile.FullName); 1305logger.LogDebug("Set SDK version {Version} in settings file (inherited from parent config)", inheritedSdkVersion); 1339logger.LogDebug("Using existing config file at {Path}", configuredSettingsFile.FullName); 1346logger.LogDebug("Will use workspace config at {Path}", newConfigPath);
Projects\ProjectUpdater.cs (2)
35logger.LogDebug("Fetching '{AppHostPath}' items and properties.", projectFile.FullName); 407logger.LogDebug("Analyzing App Host SDK for: {AppHostFile}", context.AppHostProjectFile.FullName);
Projects\SolutionLocator.cs (3)
20logger.LogDebug("Searching for solution files starting from {StartDirectory}", startDirectory.FullName); 26logger.LogDebug("No solution files found in {Directory} or subdirectories", startDirectory.FullName); 30logger.LogDebug("Found {Count} solution file(s) in {Directory}", solutionFiles.Count, startDirectory.FullName);
Projects\TypeScriptAppHostToolchainResolver.cs (1)
46logger?.LogDebug(
Scaffolding\ScaffoldingService.cs (2)
215_logger.LogDebug("Wrote {Count} scaffold files", scaffoldFiles.Count); 505_logger.LogDebug("Generated {Count} code files in {Path}", generatedFiles.Count, outputPath);
src\Shared\AppHostSocketManager.cs (1)
258logger.LogDebug("Cleaned up backchannel socket file: {SocketPath}", SocketPath);
src\Shared\ContainerRuntimeDetector.cs (8)
118logger?.LogDebug("Checking explicitly configured runtime: {Runtime}", configuredRuntime); 123logger?.LogDebug("Auto-detecting container runtime, probing {Count} known runtimes...", s_knownRuntimes.Length); 139logger?.LogDebug("Probing container runtime '{Name}' ({Executable})...", name, executable); 190logger?.LogDebug("{Name} is running, gathering version info...", name); 192logger?.LogDebug("{Name}: client={ClientVersion}, server={ServerVersion}, desktop={IsDesktop}", name, versionInfo.ClientVersion, versionInfo.ServerVersion, versionInfo.IsDockerDesktop); 210logger?.LogDebug("{Name}: exit code {ExitCode}, installed={IsInstalled}", name, process.ExitCode, isInstalled); 219logger?.LogDebug("{Name}: {Error}", name, error); 235logger?.LogDebug("{Name}: not found on PATH ({ExceptionMessage})", name, ex.Message);
src\Shared\PackageUpdateHelpers.cs (5)
79logger.LogDebug( 92logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 99logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest prerelease version {NewestPrereleaseVersion}.", currentVersion, newestPrerelease); 108logger.LogDebug("Current version {CurrentVersion} is stable and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 113logger.LogDebug("No newer version for the current version {CurrentVersion}.", currentVersion);
src\Shared\ProcessSignaler.cs (6)
38logger.LogDebug("Requesting graceful shutdown of process {Pid}...", pid); 42logger.LogDebug("Windows graceful process shutdown is handled by caller-specific process tree signaling."); 55logger.LogDebug("Killing process {Pid} (entireProcessTree={EntireProcessTree})...", pid, killEntireProcessTree); 84logger.LogDebug("Could not inspect process {Pid} start time. Treating it as not running.", pid); 92logger.LogDebug("Process {Pid} start time {ProcessStartTimeMs}ms does not match expected start time {ExpectedStartTimeMs}ms", pid, actualStartTimeUnixMilliseconds, expectedStartTimeUnixMilliseconds); 145logger.LogDebug("Process {Pid} legacy start time does not match expected start time {ExpectedStartTime}.", pid, expectedStartTime);
Telemetry\TelemetryTagsSource.cs (1)
53_logger.LogDebug("TelemetryTagsSource: blocked {ElapsedMilliseconds}ms waiting for telemetry tags to be calculated.", stopwatch.ElapsedMilliseconds);
Templating\CliTemplateFactory.cs (4)
306_logger.LogDebug("Copying embedded template tree '{TemplateRoot}' to '{OutputPath}'.", templateRoot, outputPath); 317_logger.LogDebug("No embedded resources found for template root '{TemplateRoot}'. Available manifest resources: {ManifestResources}", templateRoot, string.Join(", ", allResourceNames)); 321_logger.LogDebug("Found {ResourceCount} embedded resources for template root '{TemplateRoot}': {TemplateResources}", resourceNames.Length, templateRoot, string.Join(", ", resourceNames)); 336_logger.LogDebug("Writing embedded template resource '{ResourceName}' to '{FilePath}'.", resourceName, filePath);
Templating\CliTemplateFactory.EmptyTemplate.cs (5)
43_logger.LogDebug("Applying empty AppHost template. LanguageId: {LanguageId}, Language: {LanguageDisplayName}, ProjectName: {ProjectName}, OutputPath: {OutputPath}.", languageId, language.DisplayName, projectName, outputPath); 71_logger.LogDebug("Using embedded C# empty AppHost template for '{OutputPath}'.", outputPath); 87_logger.LogDebug("Using scaffolding service for language '{LanguageDisplayName}' in '{OutputPath}'.", language.DisplayName, outputPath); 155_logger.LogDebug("Skipping localhost TLD update because aspire.config.json was not found in '{OutputPath}'.", outputPath); 177_logger.LogDebug("Writing C# empty AppHost template files to '{OutputPath}' with Aspire version '{AspireVersion}'.", outputPath, aspireVersion);
Templating\CliTemplateFactory.GoStarterTemplate.cs (3)
36_logger.LogDebug("Applying Go starter template. ProjectName: {ProjectName}, OutputPath: {OutputPath}, AspireVersion: {AspireVersion}.", projectName, outputPath, aspireVersion); 57_logger.LogDebug("Copying embedded Go starter template files to '{OutputPath}'.", outputPath); 84_logger.LogDebug("Generating SDK code for Go starter in '{OutputPath}'.", outputPath);
Templating\CliTemplateFactory.JavaStarterTemplate.cs (3)
36_logger.LogDebug("Applying Java starter template. ProjectName: {ProjectName}, OutputPath: {OutputPath}, AspireVersion: {AspireVersion}.", projectName, outputPath, aspireVersion); 57_logger.LogDebug("Copying embedded Java starter template files to '{OutputPath}'.", outputPath); 84_logger.LogDebug("Generating SDK code for Java starter in '{OutputPath}'.", outputPath);
Templating\CliTemplateFactory.PythonStarterTemplate.cs (3)
37_logger.LogDebug("Applying Python starter template. ProjectName: {ProjectName}, OutputPath: {OutputPath}, AspireVersion: {AspireVersion}.", projectName, outputPath, aspireVersion); 66_logger.LogDebug("Copying embedded Python starter template files to '{OutputPath}'.", outputPath); 98_logger.LogDebug("Generating SDK code for Python starter in '{OutputPath}'.", outputPath);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (3)
37_logger.LogDebug("Applying TypeScript starter template. ProjectName: {ProjectName}, OutputPath: {OutputPath}, AspireVersion: {AspireVersion}.", projectName, outputPath, aspireVersion); 59_logger.LogDebug("Copying embedded TypeScript starter template files to '{OutputPath}'.", outputPath); 82_logger.LogDebug("Generating SDK code for TypeScript starter in '{OutputPath}'.", outputPath);
Tui\TerminalViewerApp.cs (5)
159_logger.LogDebug( 190_logger.LogDebug("Multi-head PeerJoined: peerId={PeerId} displayName={DisplayName}", e.PeerId, e.DisplayName); 196_logger.LogDebug("Multi-head PeerLeft: peerId={PeerId}", e.PeerId); 250_logger.LogDebug( 318_logger.LogDebug(
Utils\CliDownloader.cs (2)
69logger.LogDebug("Downloading archive from {Url} to {Path}", archiveUrl, archivePath); 72logger.LogDebug("Downloading checksum from {Url} to {Path}", checksumUrl, checksumPath);
Utils\CliUpdateNotifier.cs (1)
135logger.LogDebug("Unable to determine current CLI version for update check.");
Utils\EnvironmentChecker\AspireVersionCheck.cs (2)
215logger.LogDebug("Could not read identity channel for doctor output: {Error}", error); 389logger.LogDebug(
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
342_logger.LogDebug("DCP doctor stop request returned HTTP {StatusCode}.", response.StatusCode);
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
35logger.LogDebug("Skipping DCP connection health checks because no Aspire bundle layout was discovered.");
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (3)
49logger.LogDebug("Failed to start dotnet workload list process"); 66logger.LogDebug("dotnet workload list timed out"); 72logger.LogDebug("dotnet workload list exited with code {ExitCode}", process.ExitCode);
Utils\EnvironmentChecker\DotNetSdkCheck.cs (1)
34logger.LogDebug("Skipping .NET SDK check because no .NET AppHost was detected");
Utils\EnvironmentChecker\EnvironmentChecker.cs (2)
58_logger.LogDebug("Starting environment check {CheckType}.", checkType.Name); 76_logger.LogDebug(
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (1)
265logger.LogDebug(
Utils\ProcessCaptureRunner.cs (1)
198logger.LogDebug(
Aspire.Cli.Tests (3)
Interaction\SpectreConsoleLoggerProviderTests.cs (3)
54logger.LogDebug("Test debug message"); 77logger.LogDebug("Getting integrations from NuGet"); 97logger.LogDebug("Test debug message");
Aspire.Dashboard (70)
Components\Controls\Chart\ChartContainer.razor.cs (1)
280Logger.LogDebug(
Components\Controls\LogViewer.razor.cs (3)
106Logger.LogDebug("Log entries changed."); 245Logger.LogDebug("Initializing log viewer."); 278Logger.LogDebug("Disposing log viewer.");
Components\Interactions\InteractionsProvider.cs (1)
96Logger.LogDebug("InteractionProvider is disabled because the DashboardClient is not enabled.");
Components\Pages\ConsoleLogs.razor.cs (28)
58s._logger.LogDebug("Canceling subscription {SubscriptionId} to {ResourceName}.", s.SubscriptionId, s.Resource.Name); 66_logger.LogDebug("Canceling subscription for resource {ResourceName}.", Resource.Name); 252Logger.LogDebug("Loading task completed."); 256Logger.LogDebug("Load task canceled."); 273Logger.LogDebug("Received initial resource snapshot with {ResourceCount} resources.", snapshot.Length); 293Logger.LogDebug("All resources selected."); 361Logger.LogDebug("Selected console resource from name {ResourceName}.", ResourceName); 421Logger.LogDebug("Setting status to '{StatusName}'.", statusName); 427Logger.LogDebug("Initializing console logs view model."); 444Logger.LogDebug("Switching to or from 'All' mode"); 449Logger.LogDebug("Switching to different single resource: {ResourceName}", selectedResourceName); 496Logger.LogDebug("Subscription change needed. IsAllSelected: {IsAllSelected}, SelectedResource: {SelectedResource}", isAllSelected, selectedResourceName); 536Logger.LogDebug("Resource '{ResourceName}' has terminal at replica {ReplicaIndex}", selectedResourceName, replicaIndex); 563Logger.LogDebug("Creating new log entries collection."); 588Logger.LogDebug("Unexpected state. Unknown resource '{ResourceName}' selected.", selectedResourceName); 881Logger.LogDebug("Subscribing to {ResourceCount} resources for 'All' view.", availableResources.Count); 885Logger.LogDebug("No resources available to subscribe to for 'All' view - will show empty logs."); 900Logger.LogDebug("Successfully created {SubscriptionCount} subscriptions for 'All' view.", _consoleLogsSubscriptions.Count); 909Logger.LogDebug("Already subscribed to resource {ResourceName}.", resourceName); 914Logger.LogDebug("Creating new subscription {SubscriptionId} for resource {ResourceName}.", subscription.SubscriptionId, resourceName); 920Logger.LogDebug("Started log subscription task for resource {ResourceName}.", resourceName); 1071Logger.LogDebug("Starting log subscription {SubscriptionId}.", subscription.SubscriptionId); 1076Logger.LogDebug("Subscribing to console logs with subscription {SubscriptionId} to resource {ResourceName}.", subscription.SubscriptionId, subscription.Resource.Name); 1099Logger.LogDebug("Adding {PauseIntervalsCount} pause intervals on initial logs load.", pauseIntervals.Length); 1157Logger.LogDebug("Subscription {SubscriptionId} finished watching logs for resource {ResourceName}. Cancel duration: {Duration}", subscription.SubscriptionId, subscription.Resource.Name, subscription.GetCancelElapsedTime()); 1262Logger.LogDebug("Console logs paused new value: {IsPausedNewValue}", isPaused); 1275Logger.LogDebug("Inserting new pause log entry for {Resource} starting at {StartTimestamp}.", subscription.Resource.Name, timestamp); 1289Logger.LogDebug("Updating pause log entry for {Resource} starting at {StartTimestamp} with end of {EndTimestamp}.", subscription.Resource.Name, pause.StartTime, timestamp);
Components\Pages\Resources.razor.cs (3)
605Logger.LogDebug("Can't navigate to {ResourceName} from URL. Resource not found.", ResourceName); 671Logger.LogDebug("Showing details for resource {ResourceName}.", resource.Name); 720Logger.LogDebug("Clearing selected resource.");
Configuration\PostConfigureDashboardOptions.cs (1)
27_logger.LogDebug($"PostConfigure {nameof(DashboardOptions)} with name '{name}'.");
Configuration\ValidateDashboardOptions.cs (1)
25_logger.LogDebug($"Validating {nameof(DashboardOptions)}.");
DashboardWebApplication.cs (1)
453_logger.LogDebug("Dashboard API disabled: {ApiDisabled}", _dashboardOptionsMonitor.CurrentValue.Api.Disabled.GetValueOrDefault());
Model\BrowserTimeProvider.cs (1)
42_logger.LogDebug("Browser time zone set to '{TimeZone}' with UTC offset {UtcOffset}.", timeZoneInfo.Id, timeZoneInfo.BaseUtcOffset);
Model\Otlp\ResourcesSelectHelpers.cs (1)
52logger.LogDebug(
Model\TelemetryImportService.cs (8)
95_logger.LogDebug("Ignoring text file {FileName} - console log import not supported", fileName); 98_logger.LogDebug("Unsupported file type: {Extension}", extension); 148_logger.LogDebug("Imported logs from {FileName}", fileName); 155_logger.LogDebug("Imported traces from {FileName}", fileName); 162_logger.LogDebug("Imported metrics from {FileName}", fileName); 180_logger.LogDebug("Imported logs: {SuccessCount} succeeded, {FailureCount} failed", addContext.SuccessCount, addContext.FailureCount); 191_logger.LogDebug("Imported traces: {SuccessCount} succeeded, {FailureCount} failed", addContext.SuccessCount, addContext.FailureCount); 202_logger.LogDebug("Imported metrics: {SuccessCount} succeeded, {FailureCount} failed", addContext.SuccessCount, addContext.FailureCount);
Model\ValidateTokenMiddleware.cs (1)
33_logger.LogDebug($"Request to validate token URL but auth mode isn't set to {FrontendAuthMode.BrowserToken}.");
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
107logger.LogDebug("OTLP HTTP request with unsupported content type '{ContentType}' was rejected. Only '{SupportedContentType}' is supported.", httpContext.Request.ContentType, ProtobufContentType);
Otlp\Model\OtlpHelpers.cs (2)
271context.Logger.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key); 348context.Logger.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key);
Otlp\OtlpLogsService.cs (1)
28_logger.LogDebug("Processed logs export. Success count: {SuccessCount}, failure count: {FailureCount}", addContext.SuccessCount, addContext.FailureCount);
Otlp\OtlpMetricsService.cs (1)
28_logger.LogDebug("Processed metrics export. Success count: {SuccessCount}, failure count: {FailureCount}", addContext.SuccessCount, addContext.FailureCount);
Otlp\OtlpTraceService.cs (1)
28_logger.LogDebug("Processed trace export. Success count: {SuccessCount}, failure count: {FailureCount}", addContext.SuccessCount, addContext.FailureCount);
ServiceClient\DashboardClient.cs (5)
120_logger.LogDebug("{ConfigKey} is not specified. Dashboard client services are unavailable.", DashboardConfigNames.ResourceServiceUrlName.ConfigKey); 127_logger.LogDebug("Dashboard configured to connect to: {Address}", address); 294_logger.LogDebug("Dashboard connection state changed to {State}.", state); 396_logger.LogDebug("Waiting {Delay} before next connection attempt.", delay); 411_logger.LogDebug("Reconnect delay cancelled, retrying immediately.");
ServiceClient\DashboardDataSource.cs (1)
163_logger.LogDebug(
ServiceClient\DashboardRunStore.cs (4)
150_logger.LogDebug("Creating dashboard database at '{DatabasePath}'.", DatabasePath); 162_logger.LogDebug("Resuming dashboard database at '{DatabasePath}'.", DatabasePath); 187_logger.LogDebug( 377_logger.LogDebug(
ShortcutManager.cs (1)
28_logger.LogDebug($"Received shortcut of type {shortcut}");
Telemetry\DashboardTelemetrySender.cs (1)
126_logger.LogDebug("Telemetry is not configured.");
Telemetry\DashboardTelemetryService.cs (2)
69_logger.LogDebug("Initializing telemetry service."); 71_logger.LogDebug("Initialized telemetry service. Telemetry sender state: {TelemetrySenderState}", _telemetrySender.State);
Aspire.Hosting (195)
ApplicationModel\Docker\ContainerFilesExtensions.cs (1)
111logger?.LogDebug("Adding COPY --from={SourceImage} {SourcePath} {DestinationPath}",
ApplicationModel\LogFacade.cs (1)
68_loggerAccessor().LogDebug(message);
ApplicationModel\ProjectResource.cs (11)
133logger.LogDebug("Tagging image {OriginalImageName} as {TempImageName}", originalImageName, tempImageName); 166logger.LogDebug("Generated temporary Dockerfile at {DockerfilePath}", tempDockerfilePath); 191logger.LogDebug("Successfully built final image {ImageName} with container files", originalImageName); 204logger.LogDebug("Deleted temporary Dockerfile {DockerfilePath}", tempDockerfilePath); 215logger.LogDebug("Failed build - temporary Dockerfile left at {DockerfilePath} for debugging", tempDockerfilePath); 219logger.LogDebug("Removing temporary image {TempImageName}", tempImageName); 239OnErrorData = error => logger.LogDebug("dotnet msbuild (stderr): {Error}", error), 243logger.LogDebug("Getting ContainerWorkingDirectory for project {ProjectPath}", projectPath); 252logger.LogDebug("Failed to get ContainerWorkingDirectory from dotnet msbuild for project {ProjectPath}. Exit code: {ExitCode}. Using default /app", 262logger.LogDebug("dotnet msbuild returned empty ContainerWorkingDirectory for project {ProjectPath}. Using default /app", projectPath); 266logger.LogDebug("Resolved ContainerWorkingDirectory for project {ProjectPath}: {WorkingDir}", projectPath, workingDir);
ApplicationModel\RequiredCommandValidator.cs (2)
78_logger.LogDebug("Required command '{Command}' for resource '{ResourceName}' already validated, resolved to '{ResolvedPath}'.", command, resource.Name, state.ResolvedPath); 147_logger.LogDebug("Required command '{Command}' for resource '{ResourceName}' resolved to '{ResolvedPath}'.", command, resource.Name, resolved);
ApplicationModel\ResourceCommandService.cs (3)
388logger.LogDebug("Command '{CommandName}' was canceled.", commandName); 399logger.LogDebug("Command '{CommandName}' was canceled.", commandName); 538logger?.LogDebug("Command '{CommandName}' not found, falling back to '{MappedName}'.", commandName, mappedName);
ApplicationModel\ResourceNotificationService.cs (9)
128_logger.LogDebug("Waiting for resource '{ResourceName}' to enter one of the target state: {TargetStates}", resourceName, string.Join(", ", targetStates)); 138_logger.LogDebug("Finished waiting for resource '{ResourceName}'. Resource state is '{State}'.", resourceName, finalState); 239_logger.LogDebug("Waiting for resource '{ResourceName}' to enter the '{State}' state.", resourceName, HealthStatus.Healthy); 270_logger.LogDebug("Waiting for resource ready to execute for '{ResourceName}'.", resourceName); 281_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName); 650_logger.LogDebug("Waiting for resource '{ResourceName}' to match predicate.", resourceName); 656_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName); 896_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {PreviousState} -> {NewState}", resource.Name, resourceId, previousStateText, newStateText); 901_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {NewState}", resource.Name, resourceId, newStateText);
Ats\LoggingExports.cs (1)
61logger.LogDebug("{Message}", message);
Backchannel\AppHostRpcTarget.cs (3)
95logger.LogDebug("Publishing activities stream cancelled."); 183logger.LogDebug("Dashboard URL requested but dashboard is disabled."); 294logger.LogDebug("Resolving pipeline steps for list-steps request.");
Backchannel\AuxiliaryBackchannelRpcTarget.cs (8)
442logger.LogDebug("GetTerminalInfo: resource '{ResourceName}' not found.", request.ResourceName); 449logger.LogDebug("GetTerminalInfo: resource '{ResourceName}' has no TerminalAnnotation.", request.ResourceName); 523logger.LogDebug( 926logger.LogDebug("GetDashboardUrlsAsync called on auxiliary backchannel"); 1816logger.LogDebug("Invoking tool {Name} with arguments {Arguments}", toolName, JsonSerializer.Serialize(arguments)); 1823logger.LogDebug("Result: {Result}", JsonSerializer.Serialize(result)); 1854logger.LogDebug("Received request to stop AppHost"); 1870logger.LogDebug("Stopping AppHost application");
Backchannel\AuxiliaryBackchannelService.cs (6)
52logger.LogDebug("Starting auxiliary backchannel service on socket path: {SocketPath}", SocketPath); 54logger.LogDebug("Auxiliary backchannel listening on {SocketPath}", SocketPath); 80logger.LogDebug("Auxiliary backchannel service was cancelled: {Message}", ex.Message); 108logger.LogDebug("Client connected to auxiliary backchannel."); 147logger.LogDebug("Client disconnected from auxiliary backchannel"); 151logger.LogDebug("Client connection handler was cancelled");
Backchannel\BackchannelService.cs (5)
42logger.LogDebug("Backchannel socket path was not specified."); 53logger.LogDebug("Deleting existing socket file: {SocketPath}", unixSocketPath); 58logger.LogDebug("Listening for backchannel connection on socket path: {SocketPath}", unixSocketPath); 102logger.LogDebug("Backchannel service was cancelled: {Message}", ex.Message); 134logger.LogDebug("Deleted backchannel socket file: {SocketPath}", _socketPath);
Backchannel\DashboardUrlsHelper.cs (1)
43logger.LogDebug("Dashboard resource is not present in the app model. Returning unavailable state.");
Cli\CliOrphanDetector.cs (8)
34logger.LogDebug("No CLI process ID configured. Orphan detection disabled."); 38logger.LogDebug("Starting orphan detection for CLI process {Pid}.", pid); 47logger.LogDebug("Using stable start time verification. Expected start time: {StartTime}.", expectedStartTimeUnix); 54logger.LogDebug("Using legacy start time verification. Expected start time: {StartTime}.", expectedStartTimeUnix); 58logger.LogDebug("No valid start time configured. Using PID-only detection."); 63logger.LogDebug("Starting detection loop."); 84logger.LogDebug("CLI process {Pid} is no longer running. Stopping application.", pid); 93logger.LogDebug("Orphan detection cancelled.");
Dashboard\DashboardEventHandlers.cs (4)
803distributedApplicationLogger.LogDebug("Dashboard endpoint '{EndpointName}' configured: {Scheme}://{Host}:{Port}", endpointName, scheme, host, port); 807distributedApplicationLogger.LogDebug("Dashboard endpoint '{EndpointName}' generated dynamically: {Scheme}://{Host}:<random> (no configured URL).", endpointName, scheme, host); 963defaultDashboardLogger.LogDebug("Failed to parse dashboard log line as JSON: {LogLine}", logLine.Content); 990defaultDashboardLogger.LogDebug("Stopped reading dashboard logs.");
Dashboard\DashboardServiceData.cs (1)
104logger.LogDebug("Updating resource snapshot for {Name}/{DisplayName}: {State}", snapshot.Name, snapshot.DisplayName, snapshot.State);
Dashboard\DashboardServiceHost.cs (2)
59_logger.LogDebug("Dashboard is not enabled so skipping hosting the resource service."); 151_logger.LogDebug("Resource service endpoint: configured={Uri}, binding={BindAddress}:{Port}, scheme={Scheme}",
Dashboard\InteractionFileUploadStore.cs (7)
36_logger.LogDebug("Started tracking file uploads for interaction {InteractionId}.", interactionId); 81_logger.LogDebug( 111_logger.LogDebug( 187_logger.LogDebug( 211_logger.LogDebug( 256_logger.LogDebug( 335_logger.LogDebug(
Dcp\DcpDependencyCheck.cs (2)
240logger.LogDebug("The error from the container runtime check was: {Error}", error); 259logger.LogDebug("The error from the container runtime check was: {Error}", error);
Dcp\DcpExecutor.cs (16)
652_logger.LogDebug("Preparing services. Ports randomized: {RandomizePorts}", _options.Value.RandomizePorts); 864_logger.LogDebug("Using persisted public port {Port} for proxyless endpoint '{EndpointName}' on persistent resource '{ResourceName}'.", persistedPort, endpoint.Name, resource.Name); 869_logger.LogDebug("Allocated public port {Port} for proxyless endpoint '{EndpointName}' on resource '{ResourceName}'.", publicPort, endpoint.Name, resource.Name); 918_logger.LogDebug("Ignoring invalid persisted public port value '{Port}' for proxyless endpoint '{EndpointName}' on persistent resource '{ResourceName}'.", configuredPort, endpoint.Name, resource.Name); 1183_logger.LogDebug("Stopping resource '{ResourceName}'...", resourceReference.DcpResourceName); 1205_logger.LogDebug("Container '{ResourceName}' was stopped.", resourceReference.DcpResourceName); 1210_logger.LogDebug("Container '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName); 1220_logger.LogDebug("Executable '{ResourceName}' was stopped.", resourceReference.DcpResourceName); 1225_logger.LogDebug("Executable '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName); 1259_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", appResource.DcpResourceKind, resourceReference.DcpResourceName); 1327_logger.LogDebug("Ensuring '{ResourceName}' is deleted.", resource.DcpResourceName); 1345_logger.LogDebug("Delete request for '{ResourceName}' successfully completed. Resource to delete has UID '{Uid}'.", resourceName, uid); 1349_logger.LogDebug("Delete request for '{ResourceName}' returned NotFound.", resourceName); 1362_logger.LogDebug("Polling DCP to check if '{ResourceName}' is deleted...", resourceName); 1364_logger.LogDebug("Get request for '{ResourceName}' returned resource with UID '{Uid}'.", resourceName, uid); 1370_logger.LogDebug("Get request for '{ResourceName}' returned NotFound.", resourceName);
Dcp\DcpHost.cs (2)
235_logger.LogDebug("Prepared DCP TLS certificate thumbprint {Thumbprint}.", thumbprint); 259_logger.LogDebug("Prepared DCP TLS certificate files for thumbprint {Thumbprint}.", thumbprint);
Dcp\DcpPipelineBuilder.cs (1)
25logger.LogDebug("Retrying check for deleted resource. Attempt: {Attempt}. Error message: {ErrorMessage}", retry.AttemptNumber, retry.Outcome.Exception?.Message);
Dcp\DcpResourceWatcher.cs (8)
203_logger.LogDebug("Watching over DCP {ResourceType} resources.", typeof(T).Name); 224_logger.LogDebug("Cancellation received while watching {ResourceType} resources.", typeof(T).Name); 232_logger.LogDebug("Stopped watching {ResourceType} resources.", typeof(T).Name); 471_logger.LogDebug("Current log flush for {ResourceName} timed out after {Timeout}.", resource.Metadata.Name, _terminalLogFlushTimeout); 475_logger.LogDebug("Current log flush for {ResourceName} ended because the resource was deleted.", resource.Metadata.Name); 636_logger.LogDebug("Starting log streaming for {ResourceName}.", resourceName); 657_logger.LogDebug("Log streaming for {ResourceName} was cancelled.", resourceName); 662_logger.LogDebug("Log streaming for {ResourceName} ended because the resource was deleted.", resourceName);
Dcp\KubernetesService.cs (2)
567logger.LogDebug( 644logger.LogDebug(
DeveloperCertificateService.cs (2)
93logger.LogDebug("Container trust for developer certificates is {Status}.", containerTrustAvailable ? "available" : "not available"); 100logger.LogDebug("Developer certificate HTTPS/TLS termination support: {Available}", supportsTlsTermination);
Health\ResourceHealthCheckService.cs (9)
127logger.LogDebug("Resource '{ResourceName}' has no health checks to monitor.", resource.Name); 134logger.LogDebug("Resource '{ResourceName}' health checks to monitor: {HeathCheckKeys}", resource.Name, string.Join(", ", registrationKeysToCheck)); 257logger.LogDebug("Resource '{ResourceName}' is ready.", resource.Name); 264logger.LogDebug("Publishing ResourceReadyEvent for '{ResourceName}'.", resource.Name); 269logger.LogDebug("Waiting for ResourceReadyEvent for '{ResourceName}'.", resource.Name); 274logger.LogDebug("ResourceReadyEvent for '{ResourceName}' completed.", resource.Name); 276logger.LogDebug("Publishing the result of ResourceReadyEvent for '{ResourceName}'.", resource.Name); 336_logger.LogDebug("Starting health monitoring for resource '{ResourceName}'.", _resourceName); 346_logger.LogDebug("Stopping health monitoring for resource '{ResourceName}'.", _resourceName);
InteractionService.cs (1)
479_logger.LogDebug("No interaction found with ID {InteractionId}.", interactionId);
Lifecycle\TerminalHostEventingSubscriber.cs (1)
104_logger.LogDebug(
Lifecycle\TerminalHostOrphanCleanupService.cs (2)
314logger.LogDebug( 337logger.LogDebug(
Orchestrator\ParameterProcessor.cs (2)
90logger.LogDebug("All unresolved parameters have been handled successfully."); 575logger.LogDebug("Unresolved parameters notification was dismissed. The notification will not be shown again.");
Pipelines\Internal\FileDeploymentStateManager.cs (1)
372logger.LogDebug("Deployment state saved to {Path}", deploymentStatePath);
Publishing\ContainerRuntimeBase.cs (21)
339_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 343_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error); 349_logger.LogDebug("Running {RuntimeName} with arguments: {Arguments}", RuntimeExecutable, arguments); 350_logger.LogDebug("Password length being passed to stdin: {PasswordLength}", password?.Length ?? 0); 395_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 527_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 543_logger.LogDebug(successLogTemplate, logArguments); 560_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 575_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 587_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.ArgumentList ?? (object?)spec.Arguments); 604_logger.LogDebug("{RuntimeName} {OperationName} for {ImageName} succeeded.", Name, operationName, imageName); 631_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 635_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error); 652_logger.LogDebug("Running {Runtime} compose up with arguments: {Arguments}", RuntimeExecutable, arguments); 663_logger.LogDebug("{Runtime} compose up (stdout): {Output}", RuntimeExecutable, output); 667_logger.LogDebug("{Runtime} compose up (stderr): {Error}", RuntimeExecutable, error); 707_logger.LogDebug("Running {Runtime} compose down with arguments: {Arguments}", RuntimeExecutable, arguments); 718_logger.LogDebug("{Runtime} compose down (stdout): {Output}", RuntimeExecutable, output); 722_logger.LogDebug("{Runtime} compose down (stderr): {Error}", RuntimeExecutable, error); 776_logger.LogDebug("{Runtime} compose ps (stderr): {Error}", RuntimeExecutable, error); 791_logger.LogDebug("{Runtime} compose ps failed with exit code {ExitCode}", RuntimeExecutable, processResult.ExitCode);
Publishing\PipelineExecutor.cs (1)
41logger.LogDebug("Waiting for backchannel connection before publishing.");
Publishing\PodmanContainerRuntime.cs (2)
54Logger.LogDebug("podman ps (stderr): {Error}", error); 69Logger.LogDebug("podman ps failed with exit code {ExitCode}", processResult.ExitCode);
Publishing\ResourceContainerImageManager.cs (10)
218logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name); 228logger.LogDebug("{ContainerRuntimeName} is healthy", containerRuntime.Name); 237logger.LogDebug("Building container images completed"); 250logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name); 260logger.LogDebug("{ContainerRuntimeName} is healthy", containerRuntime.Name); 292logger.LogDebug("Resource {ResourceName} already has a container image associated and no build annotation. Skipping build.", resource.Name); 397logger.LogDebug("dotnet publish {ProjectPath} (stdout): {Output}", projectMetadata.ProjectPath, output); 401logger.LogDebug("dotnet publish {ProjectPath} (stderr): {Error}", projectMetadata.ProjectPath, error); 405logger.LogDebug( 428logger.LogDebug(
ResourceBuilderExtensions.cs (2)
3456OnOutputData = output => context.Logger.LogDebug("{ExecutablePath} (stdout): {Output}", processCommandSpec.ExecutablePath, output), 3457OnErrorData = error => context.Logger.LogDebug("{ExecutablePath} (stderr): {Error}", processCommandSpec.ExecutablePath, error)
src\Shared\AppHostSocketManager.cs (1)
258logger.LogDebug("Cleaned up backchannel socket file: {SocketPath}", SocketPath);
src\Shared\ContainerRuntimeDetector.cs (8)
118logger?.LogDebug("Checking explicitly configured runtime: {Runtime}", configuredRuntime); 123logger?.LogDebug("Auto-detecting container runtime, probing {Count} known runtimes...", s_knownRuntimes.Length); 139logger?.LogDebug("Probing container runtime '{Name}' ({Executable})...", name, executable); 190logger?.LogDebug("{Name} is running, gathering version info...", name); 192logger?.LogDebug("{Name}: client={ClientVersion}, server={ServerVersion}, desktop={IsDesktop}", name, versionInfo.ClientVersion, versionInfo.ServerVersion, versionInfo.IsDockerDesktop); 210logger?.LogDebug("{Name}: exit code {ExitCode}, installed={IsInstalled}", name, process.ExitCode, isInstalled); 219logger?.LogDebug("{Name}: {Error}", name, error); 235logger?.LogDebug("{Name}: not found on PATH ({ExceptionMessage})", name, ex.Message);
src\Shared\PackageUpdateHelpers.cs (5)
79logger.LogDebug( 92logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 99logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest prerelease version {NewestPrereleaseVersion}.", currentVersion, newestPrerelease); 108logger.LogDebug("Current version {CurrentVersion} is stable and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 113logger.LogDebug("No newer version for the current version {CurrentVersion}.", currentVersion);
src\Shared\ProcessSignaler.cs (6)
38logger.LogDebug("Requesting graceful shutdown of process {Pid}...", pid); 42logger.LogDebug("Windows graceful process shutdown is handled by caller-specific process tree signaling."); 55logger.LogDebug("Killing process {Pid} (entireProcessTree={EntireProcessTree})...", pid, killEntireProcessTree); 84logger.LogDebug("Could not inspect process {Pid} start time. Treating it as not running.", pid); 92logger.LogDebug("Process {Pid} start time {ProcessStartTimeMs}ms does not match expected start time {ExpectedStartTimeMs}ms", pid, actualStartTimeUnixMilliseconds, expectedStartTimeUnixMilliseconds); 145logger.LogDebug("Process {Pid} legacy start time does not match expected start time {ExpectedStartTime}.", pid, expectedStartTime);
Utils\FileSystemService.cs (5)
112_logger?.LogDebug("Cleaning up {Count} remaining temporary files/directories", _allocatedItems.Count); 183_parent.Logger?.LogDebug("Allocated temporary directory: {Path}", path); 211_parent.Logger?.LogDebug("Cleaned up temporary directory: {Path}", _path); 237_parent.Logger?.LogDebug("Allocated temporary file: {Path}", path); 265_parent.Logger?.LogDebug("Cleaned up temporary file: {Path}", _path);
VersionChecking\PackageFetcher.cs (5)
37_logger.LogDebug("dotnet (stdout): {Output}", output); 41_logger.LogDebug("dotnet (stderr): {Error}", error); 46_logger.LogDebug("Running dotnet CLI to check for latest version of {PackageId} with arguments: {ArgumentList}", PackageId, spec.Arguments); 57_logger.LogDebug("The dotnet CLI call to check for latest version failed with exit code {ExitCode}.", processResult.ExitCode); 68_logger.LogDebug("Found {PackageCount} packages.", packages.Count);
VersionChecking\VersionCheckService.cs (7)
64_logger.LogDebug("App host version is not available, skipping version check."); 97_logger.LogDebug("Last version check was performed {IntervalSinceLastCheck} ago on {CheckDate}, skipping version check.", intervalSinceLastCheck, checkDateString); 114_logger.LogDebug("Using stored known latest version {StoredKnownLatestVersion}.", storedKnownLatestVersion); 124_logger.LogDebug("App host version is up to date or the latest version is unknown."); 133_logger.LogDebug("Ignoring version {Version} as it is less than or equal to the ignored version {IgnoreVersion}.", latestVersion, ignoreVersion); 139_logger.LogDebug("Ignoring version {Version} as it matches the ignored version wildcard pattern.", latestVersion); 163_logger.LogDebug("User chose to ignore version {Version}.", latestVersion);
Aspire.Hosting.Azure (28)
AcrLoginService.cs (3)
82_logger.LogDebug("AAD access token acquired for ACR audience, registry: {RegistryEndpoint}, token length: {TokenLength}", 96_logger.LogDebug("ACR refresh token acquired, length: {TokenLength}", refreshToken.Length); 154_logger.LogDebug("Exchanging AAD token for ACR refresh token at {ExchangeUrl} (tenant: {TenantId})",
AzureBicepResource.cs (2)
322context.Logger.LogDebug("Resource {ResourceName} is excluded from publish. Skipping provisioning.", resource.Name); 330context.Logger.LogDebug("Resource {ResourceName} is already provisioned. Skipping provisioning.", resource.Name);
AzurePublishingContext.cs (2)
567logger.LogDebug("Excluding {BicepName}.bicep from the output because {PropertyName} is set.", MainInfrastructure.BicepName, nameof(ExcludeMainBicepFile)); 574logger.LogDebug("Writing Bicep module {BicepName}.bicep to {TargetPath}", MainInfrastructure.BicepName, outputDirectoryPath);
Provisioning\Internal\BaseProvisioningContextProvider.cs (2)
358_logger.LogDebug("SubscriptionId '{SubscriptionId}' isn't a valid GUID. Skipping getting available resource groups from client.", subscriptionId); 393_logger.LogDebug("SubscriptionId '{SubscriptionId}' isn't a valid GUID. Skipping getting available locations from client.", subscriptionId);
Provisioning\Internal\BicepCompiler.cs (4)
54_logger.LogDebug("{CommandPath} (stdout): {Output}", commandPath, data); 59_logger.LogDebug("{CommandPath} (stderr): {Error}", commandPath, data); 64_logger.LogDebug("Running {CommandPath} with arguments: {Arguments}", commandPath, arguments); 91_logger.LogDebug("Bicep compilation for {BicepFilePath} succeeded.", bicepFilePath);
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
67_logger.LogDebug("Azure provisioning options have been handled successfully.");
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
107_logger.LogDebug("Azure provisioning options have been handled successfully.");
Provisioning\Provisioners\BicepProvisioner.cs (13)
63logger.LogDebug("Cached deployment state for resource {ResourceName} is incomplete because provisioning state is {ProvisioningState}.", resource.Name, provisioningState); 72logger.LogDebug("Cached deployment state for resource {ResourceName} is incomplete because it is missing a checksum.", resource.Name); 78logger.LogDebug("Checksum mismatch for resource {ResourceName}. Expected cached checksum {ExpectedChecksum}, computed checksum {ActualChecksum}", resource.Name, configCheckSum, currentCheckSum); 82logger.LogDebug("Configuring resource {ResourceName} from existing deployment state.", resource.Name); 255logger.LogDebug("Cached Azure deployment {DeploymentId} for {ResourceName} has provisioning state {ProvisioningState}. Reprovisioning.", deploymentId, resource.Name, deployment.ProvisioningState); 360logger.LogDebug("Cached deployment state for resource {ResourceName} cannot be reconciled because parameters or checksum are missing.", resource.Name); 566logger.LogDebug("Setting parameters and scope for resource {ResourceName}", resource.Name); 596logger.LogDebug("Starting deployment of resource {ResourceName} to {DeploymentTarget}", resource.Name, deploymentTargetName); 764logger.LogDebug("Deployment of resource {ResourceName} to {DeploymentTarget} completed in {Elapsed}", resource.Name, deploymentTargetName, sw.Elapsed); 865logger.LogDebug("Azure deployment {DeploymentId} for {ResourceName} is active, but cached state does not match the current deployment request.", deploymentId, resource.Name); 896logger.LogDebug("Unable to adopt active Azure deployment {DeploymentId} for {ResourceName} because it could not be found.", deploymentId, resource.Name); 918logger.LogDebug("Unable to adopt active Azure deployment {DeploymentId} for {ResourceName} because it disappeared while waiting.", deploymentId, resource.Name); 933logger.LogDebug("Unable to adopt active Azure deployment {DeploymentId} for {ResourceName} because provisioning state is {ProvisioningState}.", deploymentId, resource.Name, deployment.ProvisioningState);
Aspire.Hosting.Azure.Kubernetes (5)
AzureKubernetesEnvironmentResource.AksPipeline.cs (5)
612context.Logger.LogDebug("kubectl: {Line}", line); 617context.Logger.LogDebug("kubectl: {Line}", line); 722logger.LogDebug( 899logger.LogDebug( 1032logger.LogDebug("Running: {AzPath} {Arguments}", azPath, arguments);
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
293logger.LogDebug("Creating database '{DatabaseName}'", databaseResource.DatabaseName); 309logger.LogDebug("Database '{DatabaseName}' created successfully", databaseResource.DatabaseName);
Aspire.Hosting.Browsers (3)
BrowserEndpointDiscovery.cs (2)
109_logger.LogDebug("Tracked browser endpoint metadata '{MetadataPath}' points to process {ProcessId}, but that process is not running.", metadataPath, metadata.ProcessId); 130_logger.LogDebug("Tracked browser endpoint metadata '{MetadataPath}' points to endpoint '{Endpoint}', but it did not respond to /json/version.", metadataPath, endpoint);
BrowserLogsEventLogger.cs (1)
254_resourceLogger.LogDebug("{Message}", sessionMessage);
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserEndpointDiscovery.cs (2)
109_logger.LogDebug("Tracked browser endpoint metadata '{MetadataPath}' points to process {ProcessId}, but that process is not running.", metadataPath, metadata.ProcessId); 130_logger.LogDebug("Tracked browser endpoint metadata '{MetadataPath}' points to endpoint '{Endpoint}', but it did not respond to /json/version.", metadataPath, endpoint);
src\Aspire.Hosting.Browsers\BrowserLogsEventLogger.cs (1)
254_resourceLogger.LogDebug("{Message}", sessionMessage);
Aspire.Hosting.DevTunnels (10)
DevTunnelCliClient.cs (1)
315logger?.LogDebug("Operation was cancelled.");
DevTunnelLoginManager.cs (6)
29_logger.LogDebug("Checking dev tunnel login status"); 33_logger.LogDebug("User already logged in to dev tunnel service as {Username} with {Provider}", loginStatus.Username, loginStatus.Provider); 55_logger.LogDebug("Prompting user to login to dev tunnel service"); 70_logger.LogDebug("User selected {LoginProvider} for dev tunnel login", selectedProvider); 90_logger.LogDebug("User already logged in to dev tunnel service as {Username} with {Provider}", loginStatus.Username, loginStatus.Provider); 94_logger.LogDebug("User login to dev tunnel service failed, retrying login prompt");
DevTunnelResourceBuilderExtensions.cs (2)
155logger.LogDebug("Dev tunnel '{TunnelId}' created", tunnelResource.TunnelId); 803portLogger.LogDebug("Anonymous access status unavailable for port at this time (tunnel or port access status null)");
IDevTunnelClient.cs (1)
132logger.LogDebug("Anonymous access: TunnelAllow={TunnelAllow} InheritedAllow={InheritedAllow} ExplicitAllow={ExplicitAllow} ExplicitDeny={ExplicitDeny} Effective={Effective}",
Aspire.Hosting.Dotnet (4)
DotnetProjectBuildArtifactManager.cs (3)
250logger.LogDebug("Retaining coordinated build project '{Hash}' because its lease state is unknown.", hash); 265logger.LogDebug("Retaining coordinated build project '{Hash}' because its state file is invalid.", hash); 339logger.LogDebug("Retaining coordinated build state '{Hash}' because its lease state is unknown.", hash);
DotnetProjectRunPropertiesResolver.cs (1)
115logger.LogDebug(
Aspire.Hosting.EntityFrameworkCore (3)
EFCoreOperationExecutor.cs (3)
133_logger.LogDebug("Using startup project: {StartupProject}", _startupProjectPath); 134_logger.LogDebug("Using target project: {TargetProject}", _resolvedTargetProjectPath); 268_logger.LogDebug("Executing dotnet tool exec dotnet-ef --yes -- {Args}", string.Join(" ", efArgs));
Aspire.Hosting.Foundry (2)
HostedAgent\AzureHostedAgentResource.cs (2)
326logger.LogDebug("Environment variable '{Key}' for resource '{Name}' is reserved by Foundry Hosted Agents and will be skipped.", key, resource.Name); 335logger.LogDebug("Environment variable '{Key}' for resource '{Name}' references the hosted agent target port and will be skipped.", key, resource.Name);
Aspire.Hosting.JavaScript (4)
JavaScriptHostingExtensions.cs (4)
3277logger.LogDebug("No Node.js version detected, using default version {DefaultVersion}", DefaultNodeVersion); 3292logger.LogDebug("Detected Node.js version {Version} from .nvmrc file", version); 3305logger.LogDebug("Detected Node.js version {Version} from .node-version file", version); 3326logger.LogDebug("Detected Node.js version {Version} from .tool-versions file", version);
Aspire.Hosting.Kubernetes (34)
CertManagerExtensions.cs (4)
468OnOutputData = line => context.Logger.LogDebug("kubectl: {Line}", line), 472context.Logger.LogDebug("kubectl: {Line}", line); 533OnOutputData = line => context.Logger.LogDebug("kubectl: {Line}", line), 537context.Logger.LogDebug("kubectl: {Line}", line);
Deployment\HelmDeploymentEngine.cs (9)
253context.Logger.LogDebug("No values.yaml found at {Path}, skipping prepare step.", valuesFilePath); 463context.Logger.LogDebug("Running helm {Arguments}", arguments); 470onOutputData: output => context.Logger.LogDebug("helm (stdout): {Output}", output), 474context.Logger.LogDebug("helm (stderr): {Error}", error); 539context.Logger.LogDebug("No external endpoints found for {ResourceName}", computeResource.Name); 627context.Logger.LogDebug("Running helm {Arguments}", arguments); 631onOutputData: output => context.Logger.LogDebug("helm (stdout): {Output}", output), 632onErrorData: error => context.Logger.LogDebug("helm (stderr): {Error}", error), 729OnErrorData = error => logger.LogDebug("kubectl (stderr): {Error}", error),
KubernetesEnvironmentResource.cs (17)
1506OnOutputData = line => context.Logger.LogDebug("{Line}", line), 1507OnErrorData = line => context.Logger.LogDebug("{Line}", line) 1611OnOutputData = line => context.Logger.LogDebug("{Line}", line), 1612OnErrorData = line => context.Logger.LogDebug("{Line}", line) 1680context.Logger.LogDebug( 1879OnErrorData = line => context.Logger.LogDebug("{Line}", line) 1891context.Logger.LogDebug("Gateway '{GatewayName}' not found or unreadable; skipping field-ownership cleanup.", gatewayName); 1943OnOutputData = line => context.Logger.LogDebug("{Line}", line), 1944OnErrorData = line => context.Logger.LogDebug("{Line}", line) 1963context.Logger.LogDebug( 2063context.Logger.LogDebug("Could not read Gateway for field ownership transfer."); 2124OnOutputData = line => context.Logger.LogDebug("{Line}", line), 2125OnErrorData = line => context.Logger.LogDebug("{Line}", line) 2133context.Logger.LogDebug( 2177context.Logger.LogDebug( 2248OnOutputData = line => context.Logger.LogDebug("{Line}", line), 2249OnErrorData = line => context.Logger.LogDebug("{Line}", line)
KubernetesHelmChartExtensions.cs (4)
347onOutputData: output => logger.LogDebug("helm (stdout): {Output}", output), 351logger.LogDebug("helm (stderr): {Error}", error); 441onOutputData: output => logger.LogDebug("helm (stdout): {Output}", output), 445logger.LogDebug("helm (stderr): {Error}", error);
Aspire.Hosting.Maui (3)
Lifecycle\MauiBuildQueueEventSubscriber.cs (3)
155logger.LogDebug("Released build lock (resource '{ResourceName}').", resource.Name); 372logger.LogDebug("Application stopping while waiting for MAUI resource '{ResourceName}' to reach a launch handoff state; releasing build lock.", resource.Name); 386logger.LogDebug("Released build lock (resource '{ResourceName}').", resource.Name);
Aspire.Hosting.MySql (2)
MySqlBuilderExtensions.cs (2)
153logger.LogDebug("Creating database '{DatabaseName}'", sqlDatabase.DatabaseName); 184logger.LogDebug("Database '{DatabaseName}' created successfully", sqlDatabase.DatabaseName);
Aspire.Hosting.PostgreSQL (3)
PostgresBuilderExtensions.cs (3)
734logger.LogDebug("Creating database '{DatabaseName}'", npgsqlDatabase.DatabaseName); 764logger.LogDebug("Database '{DatabaseName}' created successfully", npgsqlDatabase.DatabaseName); 769logger.LogDebug("Database '{DatabaseName}' already exists", npgsqlDatabase.DatabaseName);
Aspire.Hosting.Radius (4)
CloudProviders\AwsRadiusProviderBuilder.cs (1)
54_logger.LogDebug(
CloudProviders\AzureRadiusProviderBuilder.cs (1)
58_logger.LogDebug(
Publishing\RadiusInfrastructureBuilder.cs (1)
1676_logger.LogDebug(
RadiusInfrastructure.cs (1)
114logger.LogDebug(
Aspire.Hosting.RemoteHost (49)
AssemblyLoader.cs (4)
42logger.LogDebug( 308logger.LogDebug("Loaded assembly: {AssemblyName} in {LoadContext}", 377logger.LogDebug("Default context does not currently provide '{AssemblyName}'", sharedName); 405logger.LogDebug("Shared assembly '{AssemblyName}' satisfies libs reference: bundled={BundledVersion}, libs={LibsVersion}, BundledMvid={Mvid}",
Ats\CapabilityDispatcher.cs (3)
108_logger.LogDebug("Scanning {AssemblyCount} assemblies for capabilities...", assemblyList.Count); 132_logger.LogDebug("{Message} at {Location}", diagnostic.Message, diagnostic.Location); 163_logger.LogDebug("Registered {CapabilityCount} capabilities", _capabilities.Count);
AtsContextFactory.cs (3)
56logger.LogDebug("Creating AtsContext from {AssemblyCount} assemblies...", assemblies.Count); 70logger.LogDebug("[ATS] {Message} at {Location}", diagnostic.Message, diagnostic.Location); 78logger.LogDebug("Scanned {CapabilityCount} capabilities, {HandleTypeCount} handle types, {DtoCount} DTOs, {EnumCount} enums, {ExportedValueCount} exported values",
CodeGeneration\CodeGenerationService.cs (6)
62_logger.LogDebug(">> getCapabilities()"); 87_logger.LogDebug("<< getCapabilities() completed in {ElapsedMs}ms", sw.ElapsedMilliseconds); 242_logger.LogDebug(">> generateCode({Language})", language); 262_logger.LogDebug("<< generateCode({Language}) completed in {ElapsedMs}ms, generated {FileCount} files", language, sw.ElapsedMilliseconds, files.Count); 313_logger.LogDebug(">> exportApi({Language}, {PackageName}, {PackageVersion})", language, packageName, packageVersion); 353_logger.LogDebug("<< exportApi({Language}, {PackageName}) completed in {ElapsedMs}ms", language, packageName, sw.ElapsedMilliseconds);
CodeGeneration\CodeGeneratorResolver.cs (2)
124_logger.LogDebug("Discovered code generator: {TypeName} for language '{Language}'", type.Name, generator.Language); 175_logger.LogDebug("Discovered API reference exporter: {TypeName} for language '{Language}'", type.Name, exporter.Language);
IntegrationLoadContext.cs (3)
76_logger.LogDebug("[IntegrationALC] Deferring to default ({DefaultVersion} >= {ProbedVersion}): {AssemblyName}", 82_logger.LogDebug("[IntegrationALC] Loading: {AssemblyName} from {Path}", assemblyName.Name, probedPath); 92_logger.LogDebug("[IntegrationALC] Loading native library: {NativeLibraryName} from {Path}", unmanagedDllName, path);
JsonRpcServer.cs (11)
98_logger.LogDebug("Waiting for client connection..."); 114_logger.LogDebug("Client connected"); 171_logger.LogDebug("Waiting for client connection..."); 175_logger.LogDebug("Client connected"); 206_logger.LogDebug("Creating DI scope for client {ClientId}", clientId); 237_logger.LogDebug("JsonRpc connection established for client {ClientId} (bidirectional)", clientId); 251_logger.LogDebug("Client {ClientId}: {DisconnectReason}", clientId, disconnectReason); 262_logger.LogDebug("Client {ClientId}: {DisconnectReason}", clientId, disconnectReason); 295_logger.LogDebug("Connection cleanup completed for client {ClientId}", clientId); 300_logger.LogDebug("Active clients remaining: {RemainingClients}", remaining); 325_logger.LogDebug("JsonRpcServer disposed");
Language\LanguageService.cs (7)
53_logger.LogDebug(">> scaffoldAppHost({Language}, {TargetPath}, {ProjectName})", language, targetPath, projectName); 70_logger.LogDebug("<< scaffoldAppHost({Language}) completed in {ElapsedMs}ms, generated {FileCount} files", language, sw.ElapsedMilliseconds, files.Count); 94_logger.LogDebug(">> detectAppHostType({DirectoryPath})", directoryPath); 103_logger.LogDebug("<< detectAppHostType({DirectoryPath}) found {Language} in {ElapsedMs}ms", directoryPath, result.Language, sw.ElapsedMilliseconds); 108_logger.LogDebug("<< detectAppHostType({DirectoryPath}) not found in {ElapsedMs}ms", directoryPath, sw.ElapsedMilliseconds); 133_logger.LogDebug(">> getRuntimeSpec({Language})", language); 143_logger.LogDebug("<< getRuntimeSpec({Language}) completed in {ElapsedMs}ms", language, sw.ElapsedMilliseconds);
Language\LanguageSupportResolver.cs (1)
109_logger.LogDebug("Discovered language support: {TypeName} for language '{Language}'", type.Name, language.Language);
OrphanDetector.cs (5)
45_logger.LogDebug("No parent PID specified, orphan detection disabled"); 49_logger.LogDebug("Monitoring parent process PID: {ParentPid}", pid); 67_logger.LogDebug("Using start time verification. Expected start time: {StartTime}", expectedStartTimeUnix); 71_logger.LogDebug("No valid start time configured. Using PID-only detection."); 96_logger.LogDebug("OrphanDetector: Stopped");
RemoteAppHostService.cs (4)
101_logger.LogDebug("cancelToken({TokenId})", tokenId); 127_logger.LogDebug(">> invokeCapability({CapabilityId}) args: {Args}", capabilityId, args?.ToJsonString() ?? "null"); 129_logger.LogDebug(" invokeCapability({CapabilityId}) result: {Result}", capabilityId, result?.ToJsonString() ?? "null"); 182_logger.LogDebug("<< invokeCapability({CapabilityId}) completed in {ElapsedMs}ms", capabilityId, sw.ElapsedMilliseconds);
Aspire.Hosting.SqlServer (2)
SqlServerBuilderExtensions.cs (2)
265logger.LogDebug("Creating database '{DatabaseName}'", sqlDatabase.DatabaseName); 330logger.LogDebug("Database '{DatabaseName}' created successfully", sqlDatabase.DatabaseName);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
116resourceLogger.LogDebug("Test debug message");
Aspire.Hosting.Tests (2)
Cli\CliOrphanDetectorTests.cs (1)
229testLogger.LogDebug($"IsProcessRunning called. Running count: {processRunningCallCounter}. IsProcessRunning: {isProcessRunning}");
Pipelines\DistributedApplicationPipelineTests.cs (1)
1368logger.LogDebug($"Debug message");
Aspire.TerminalHost (5)
DcpUpstreamAdapter.cs (3)
162_logger.LogDebug( 415_logger.LogDebug( 420_logger.LogDebug(
TerminalReplica.cs (2)
501_logger.LogDebug( 508_logger.LogDebug(
dotnet-format (6)
Analyzers\AnalyzerRunner.cs (1)
67logger.LogDebug(Resources.Running_0_analyzers_on_1, analyzers.Length, project.Name);
CodeFormatter.cs (3)
55logger.LogDebug(Resources.Project_0_is_using_configuration_from_1, project.Name, configDocument.FilePath); 107logger.LogDebug(Resources.Formatted_0_of_1_files, documentIdsWithErrors.Length, fileCount); 195logger.LogDebug(Resources.Skipping_referenced_project_0, project.Name);
Commands\FormatCommandCommon.cs (1)
108logger.LogDebug(Resources.The_dotnet_runtime_version_is_0, runtimeVersion);
Utilities\DotNetHelper.cs (1)
15logger.LogDebug(string.Join(Environment.NewLine, restoreResult.OutputLines));
dotnet-watch (12)
Program.cs (2)
95logger.LogDebug("Working directory: '{Directory}'", workingDirectory); 99logger.LogDebug("Test flags: {Flags}", environmentOptions.TestFlags);
Watch\BuildEvaluator.cs (4)
67_context.Logger.LogDebug("Cannot use --no-restore since msbuild project files have changed."); 71_context.Logger.LogDebug("Modifying command to use --no-restore"); 118_context.Logger.LogDebug("Evaluating dotnet-watch file set."); 169_context.Logger.LogDebug("Re-evaluation needed due to changes in '{Path}'.", file);
Watch\DotNetWatcher.cs (2)
21context.Logger.LogDebug("MSBuild incremental optimizations suppressed."); 46context.Logger.LogDebug("Unable to determine if this project is a webapp.");
Watch\MsBuildFileSetFactory.cs (1)
71logger.LogDebug("Running MSBuild target '{TargetName}' on '{Path}'", TargetName, rootProjectFile);
Watch\StaticFileHandler.cs (3)
30logger.LogDebug("Handling file change event for static content {FilePath}.", file.FilePath); 40logger.LogDebug("[{ProjectName}] Refreshing browser.", projectNode.GetDisplayName()); 48logger.LogDebug("[{ProjectName}] No refresh server.", projectNode.GetDisplayName());
Microsoft.AspNetCore.Authentication.Negotiate (3)
Internal\LdapAdapter.cs (3)
30logger.LogDebug( 42logger.LogDebug( 142logger.LogDebug("Stale memberOf reference: group with distinguished name '{GroupDN}' no longer exists; stopping traversal.", groupDN);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
1007Logger.LogDebug($"Unexpected token response format. Status Code: {(int)responseMessage.StatusCode}. Content-Type header is missing."); 1011Logger.LogDebug($"Unexpected token response format. Status Code: {(int)responseMessage.StatusCode}. Content-Type {responseMessage.Content.Headers.ContentType}.");
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddleware.cs (1)
162log.LogDebug("Policy authentication schemes {policyName} did not succeed", String.Join(", ", policy.AuthenticationSchemes));
Microsoft.AspNetCore.DataProtection (1)
TypeForwardingActivator.cs (1)
44_logger.LogDebug("Forwarded activator type request from {FromType} to {ToType}",
Microsoft.AspNetCore.Http.Results (3)
src\aspnetcore\src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.Mvc.Core (3)
src\aspnetcore\src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.Server.IntegrationTesting (8)
CachingApplicationPublisher.cs (2)
66logger.LogDebug($"Processing {target.FullName}"); 69logger.LogDebug($" Copying {fileInfo.Name}");
Common\LoggingHandler.cs (2)
20_logger.LogDebug("Sending {method} {url}", request.Method, request.RequestUri); 24_logger.LogDebug("Received {statusCode} {reasonPhrase} {url}", response.StatusCode, response.ReasonPhrase, request.RequestUri);
Deployers\NginxDeployer.cs (4)
148Logger.LogDebug("Using PID file: {pidFile}", pidFile); 149Logger.LogDebug("Using Error Log file: {errorLog}", pidFile); 150Logger.LogDebug("Using Access Log file: {accessLog}", pidFile); 218Logger.LogDebug("Deleting config file: {configFile}", _configFile);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
AnyIPListenOptions.cs (1)
38context.Logger.LogDebug(CoreStrings.FallbackToIPv4Any, IPEndPoint.Port, IPEndPoint.Port);
Internal\AddressBinder.cs (1)
183context.Logger.LogDebug(CoreStrings.BindingToDefaultAddress, Constants.DefaultServerAddress);
Internal\KestrelServerImpl.cs (1)
350Trace.LogDebug("Config reload token fired. Checking for changes...");
Middleware\Internal\LoggingStream.cs (1)
224_logger.LogDebug(builder.ToString());
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (16)
ConnectionIoState.cs (1)
287_logger.LogDebug("TryCompleteReadUnsynchronized called but no read is pending");
TlsEventPump.cs (11)
247_logger.LogDebug("Pump {Id}: Added listen socket fd={Fd} with EPOLLEXCLUSIVE", _id, listenFd); 378_logger.LogDebug("epoll_ctl DEL listenFd={Fd} failed: errno={Errno}", listenFd, Marshal.GetLastWin32Error()); 402_logger.LogDebug("Pump {Id}: epoll_wait interrupted by a signal (EINTR); retrying.", _id); 640_logger.LogDebug("Accept failed: errno={Errno}", errno); 698_logger.LogDebug("Rejecting connection: in-flight connection cap reached"); 865_logger.LogDebug("Handshake returned NeedsTlsContext but no certificate resolver is configured for fd={Fd}", fd); 912_logger.LogDebug("Capturing the ClientHello record failed for fd={Fd}; dropping connection.", fd); 932_logger.LogDebug("Handshake failed for fd={Fd}: status={Status}", fd, status); 1255_logger.LogDebug("Handshake timed out for fd={Fd} after {TimeoutMs}ms; dropping connection.", fd, _handshakeTimeoutMs); 1396_logger.LogDebug("close(wakeupFd={WakeupFd}) failed: errno={Errno}", _wakeupFd, Marshal.GetLastWin32Error()); 1401_logger.LogDebug("close(epollFd={EpollFd}) failed: errno={Errno}", _epollFd, Marshal.GetLastWin32Error());
TlsEventPump.UserCallbacks.cs (4)
181_logger.LogDebug("Pump {Id}: writing the wakeup fd failed: errno={Errno}", _id, Marshal.GetLastWin32Error()); 219_logger.LogDebug("Pump {Id}: reading the wakeup fd failed: errno={Errno}", _id, errno); 226_logger.LogDebug("Pump {Id}: reading the wakeup fd returned {Read} bytes.", _id, read); 300_logger.LogDebug("Client certificate rejected for fd={Fd} (presented={Presented}).", fd, validation.PresentedCertificate is not null);
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
260_logger.LogDebug($"Watch process '{stopProcess}' started.");
Microsoft.AspNetCore.StaticAssets (3)
src\aspnetcore\src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.StaticFiles (3)
src\aspnetcore\src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.Watch.BrowserRefresh (3)
src\sdk\src\Dotnet.Watch\Web.Middleware\BlazorWasmHotReloadMiddleware.cs (1)
45logger.LogDebug("Middleware loaded");
src\sdk\src\Dotnet.Watch\Web.Middleware\BrowserScriptMiddleware.cs (2)
34logger.LogDebug("Middleware loaded. Script {scriptPath} ({size} B).", scriptPath, _contentLength); 45_logger.LogDebug("Script injected: {scriptPath}", _scriptPath);
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
77_logger.LogDebug("Request origin {Origin} is not in the list of allowed origins.", originHeader.ToString());
Microsoft.CodeAnalysis.ExternalAccess.HotReload (2)
Api\HotReloadMSBuildWorkspace.cs (2)
175_logger.LogDebug("Could not find document with path '{FilePath}' in the workspace.", path); 187_logger.LogDebug("Updating document text of '{FilePath}'.", path);
Microsoft.Diagnostics.NETCore.Client (34)
DiagnosticsServerRouter\DiagnosticsServerRouterFactory.cs (33)
224Logger?.LogDebug($"Waiting for a new {ServerTransportName} connection at endpoint \"{ServerAddress}\"."); 241Logger?.LogDebug("No runtime instance connected before timeout."); 267Logger?.LogDebug($"No {ServerTransportName} stream connected before timeout."); 276Logger?.LogDebug($"Successfully connected {ServerTransportName} stream, runtime id={RuntimeInstanceId}, runtime pid={RuntimeProcessId}."); 456_logger?.LogDebug($"Connecting new tcp endpoint \"{_tcpClientAddress}\"."); 480_logger?.LogDebug("No tcp stream connected, timing out."); 509_logger?.LogDebug("Successfully connected tcp stream."); 579_logger?.LogDebug($"Waiting for new ipc connection at endpoint \"{_ipcServerPath}\"."); 596_logger?.LogDebug("No ipc stream connected, timing out."); 605_logger?.LogDebug("Successfully connected ipc stream."); 639_logger?.LogDebug($"Connecting new ipc endpoint \"{_ipcClientPath}\"."); 660_logger?.LogDebug("No ipc stream connected, timing out."); 693_logger?.LogDebug("No ipc stream connected, timing out."); 713_logger?.LogDebug("Successfully connected ipc stream."); 788_logger?.LogDebug($"Trying to create new router instance."); 903_logger?.LogDebug("Failed creating new router instance."); 913_logger?.LogDebug("New router instance successfully created."); 982_logger?.LogDebug("Trying to create a new router instance."); 1029_logger?.LogDebug("Failed creating new router instance."); 1039_logger?.LogDebug("New router instance successfully created."); 1116_logger?.LogDebug("Trying to create a new router instance."); 1168_logger?.LogDebug("Failed sending advertise message."); 1174_logger?.LogDebug("Failed creating new router instance."); 1184_logger?.LogDebug("New router instance successfully created."); 1261_logger?.LogDebug("Trying to create a new router instance."); 1314_logger?.LogDebug("Failed sending advertise message."); 1327_logger?.LogDebug("Failed creating new router instance."); 1342_logger?.LogDebug("New router instance successfully created."); 1386_logger?.LogDebug("ReverseDiagnosticServer disconnected ipc connection."); 1404_logger?.LogDebug($"Requesting runtime process information."); 1423_logger?.LogDebug($"Retrieved runtime process information, pid={_runtimeProcessId}, cookie={_runtimeInstanceId}."); 1544_logger?.LogDebug($"Diposed stats: Back End->Front End {_backendToFrontendByteTransfer} bytes, Front End->Back End {_frontendToBackendByteTransfer} bytes."); 1545_logger?.LogDebug($"Active instances: {s_routerInstanceCount}");
DiagnosticsServerRouter\DiagnosticsServerRouterRunner.cs (1)
128routerFactory.Logger?.LogDebug("No backend stream available before timeout.");
Microsoft.DotNet.HotReload.Watch (49)
Aspire\AspireServiceFactory.cs (6)
64m => _logger.LogDebug(m)); 71_logger.LogDebug("Disposing service factory ..."); 100_logger.LogDebug("Service factory disposed"); 126_logger.LogDebug("[#{SessionId}] Starting: '{Path}'", sessionId, projectOptions.Representation.ProjectOrEntryPointFilePath); 177_logger.LogDebug("[#{SessionId}] Session started", sessionId); 231_logger.LogDebug("[#{SessionId}] Stop session", session.Id);
Browser\BrowserLauncher.cs (2)
121logger.LogDebug("Command '{Command}' does not support launching browsers.", projectOptions.Command); 128logger.LogDebug("launchSettings does not allow launching browsers.");
Build\BuildReporter.cs (1)
73logger.LogDebug("Binary log: '{BinLogPath}'", binLogPath);
Build\EvaluationResult.cs (2)
90logger.LogDebug("Projects restored in {Time}s.", stopwatch.Elapsed.TotalSeconds.ToString("0.0")); 123logger.LogDebug("Design-time build completed in {Time}s.", stopwatch.Elapsed.TotalSeconds.ToString("0.0"));
Build\FilePathExclusions.cs (2)
76log.LogDebug("Exclusion glob: '{Globs}' under project '{Directory}'", string.Join(";", globsPerDirectory), globsPerDirectory.Key); 81log.LogDebug("Excluded directory: '{Directory}'", dir);
Build\ProjectGraphFactory.cs (2)
69logger.LogDebug("Project graph loaded in {Time}s.", stopwatch.Elapsed.TotalSeconds.ToString("0.0")); 82logger.LogDebug("Failed to load project graph.");
HotReload\HotReloadDotNetWatcher.cs (10)
48context.Logger.LogDebug("DOTNET_WATCH_RESTART_ON_RUDE_EDIT = 'true'. Will restart without prompt."); 166_context.Logger.LogDebug("Using Aspire process launcher."); 221_context.Logger.LogDebug("File change: {Kind} '{Path}'.", change.Kind, change.Path); 552_context.Logger.LogDebug("Restarting without prompt since dotnet-watch is running in non-interactive mode."); 556_context.Logger.LogDebug(" Project to restart: '{ProjectName}'", projectName); 699_context.Logger.LogDebug("[{ProjectName}] {TargetName} target failed", failedInstance.GetDisplayName(), TargetName); 734_context.Logger.LogDebug("Deploying project dependency '{TargetPath}' from '{SourcePath}'", targetPath, sourcePath); 748_context.Logger.LogDebug("Copy failed: {Message}", e.Message); 1111_context.Logger.LogDebug("Selected device: {DeviceId}", selectedDevice); 1222_context.Logger.LogDebug("ComputeAvailableDevices target failed or returned no output.");
HotReload\ManagedCodeWorkspace.cs (3)
112_logger.LogDebug("Solution after {Operation}: v{Version}", operationDisplayName, updateId); 121_logger.LogDebug(" Project: {Path}", project.FilePath); 142_logger.LogDebug(" {Kind}: {FilePath} [{Checksum}]", kind, document.FilePath, Convert.ToBase64String(text.GetChecksum().ToArray()));
HotReload\ProjectUpdatesBuilder.StaticWebAssets.cs (1)
67Logger.LogDebug("Regenerating scoped CSS bundles.");
HotReload\RunningProjectsManager.cs (1)
370logger.LogDebug("Terminating remaining child processes.");
Process\LaunchSettingsProfile.cs (5)
59logger.LogDebug("Error reading '{Path}': {Message}.", launchSettingsPath, e.Message); 89logger.LogDebug("Found named launch profile '{ProfileName}'.", launchProfileName); 113logger.LogDebug("Error expanding launch profile: {Message}.", e.Message); 122logger.LogDebug("Unable to find default launch profile."); 134logger.LogDebug("Unable to find a supported command name in the default launch profile. Supported types: {SupportedTypes}",
src\sdk\src\Dotnet.Watch\HotReloadClient\DefaultHotReloadClient.cs (3)
173Logger.LogDebug("Previous changes failed to apply. Further changes are not applied to this process."); 180Logger.LogDebug("No updates applicable to this process"); 233Logger.LogDebug("Sending static file update request for asset '{Url}'.", update.RelativePath);
src\sdk\src\Dotnet.Watch\HotReloadClient\NamedPipeClientTransport.cs (2)
52_logger.LogDebug("Waiting for application to connect to pipe '{NamedPipeName}'.", _namedPipeName); 86_logger.LogDebug("Disposing agent communication pipe");
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\BrowserConnection.cs (3)
27ServerLogger.LogDebug("Disconnected."); 49ServerLogger.LogDebug("Failed to send message: {Message}", e.Message); 76ServerLogger.LogDebug("Failed to receive response: {Message}", e.Message);
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\StaticWebAssetsManifest.cs (1)
109logger.LogDebug("Reading static web assets manifest file: '{FilePath}'.", path);
src\sdk\src\Dotnet.Watch\HotReloadClient\WebSocketClientTransport.cs (4)
60logger.LogDebug("WebSocket server started at: {Urls}", string.Join(", ", server.ServerUrls)); 100logger.LogDebug("Disposing agent websocket transport"); 149logger.LogDebug("WebSocket client connected"); 164logger.LogDebug("WebSocket client disconnected");
UI\BuildOutput.cs (1)
37logger.LogDebug(line);
Microsoft.Extensions.Caching.Memory (3)
MemoryCache.cs (3)
592_logger.LogDebug("Overcapacity compaction triggered"); 617_logger.LogDebug($"Overcapacity compaction executing. Current size {currentSize}"); 630_logger.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Logging\FakeLogCollectorTests.cs (4)
57logger.LogDebug("Hello world!"); 99logger.LogDebug("Hello world!"); 138logger.LogDebug("Hello world!"); 170logger.LogDebug("Hello world!");
Logging\FakeLoggerProviderTests.cs (5)
18logger.LogDebug("M1"); 24logger.LogDebug("M2"); 30logger.LogDebug("M3"); 44l1.LogDebug("M1"); 45l2.LogDebug("M2");
Logging\FakeLoggerTests.cs (12)
168logger.LogDebug("This record should be marked as being disabled"); 174logger.LogDebug("This record should be marked as being enabled"); 189logger.LogDebug("BEFORE"); 191logger.LogDebug("AFTER"); 209logger.LogDebug("M1"); 231logger.LogDebug("M1"); 234logger.LogDebug("M1"); 237logger.LogDebug("M2"); 256logger.LogDebug("M1"); 257logger.LogDebug("M2"); 260logger.LogDebug("M3"); 261logger.LogDebug("M4");
Microsoft.TemplateEngine.Cli (2)
Commands\create\InstantiateCommand.cs (2)
143environmentSettings.Host.Logger.LogDebug("Details: {exception}.", ex); 336environmentSettings.Host.Logger.LogDebug("Details: {exception}.", ex);
Microsoft.TemplateEngine.Core (1)
Expressions\Shared\SharedEvaluatorDefinition.cs (1)
201processor.Config.Logger.LogDebug(LocalizableStrings.Error_Evaluation_Expression + faultedMessage);
Microsoft.TemplateEngine.Edge (50)
BuiltInManagedProvider\GlobalSettings.cs (1)
217_environmentSettings.Host.Logger.LogDebug(
BuiltInManagedProvider\GlobalSettingsTemplatePackageProvider.cs (1)
67_logger.LogDebug($"[{Factory.DisplayName}] Failed to deserialize template package data entry {entry.MountPointUri}, details: {e}.", DebugLogCategory);
Components\EnvironmentVariablesBindSource.cs (2)
27settings.Host.Logger.LogDebug( 34settings.Host.Logger.LogDebug(
Components\HostParametersBindSource.cs (2)
27settings.Host.Logger.LogDebug( 34settings.Host.Logger.LogDebug(
Installers\Folder\FolderManagedTemplatePackage.cs (1)
50_logger.LogDebug($"Failed to get last changed time for {MountPointUri}, details: {e}");
Installers\NuGet\NuGetInstaller.cs (10)
71_logger.LogDebug($"{installationRequest.PackageIdentifier} is not a local NuGet package."); 79_logger.LogDebug($"{installationRequest.PackageIdentifier} is not a valid NuGet package ID."); 83_logger.LogDebug($"{installationRequest.Version} is not a valid NuGet package version."); 87_logger.LogDebug($"{installationRequest.DisplayName} is identified as the downloadable NuGet package."); 93_logger.LogDebug($"{installationRequest.PackageIdentifier} is identified as the local NuGet package."); 178_logger.LogDebug($"Retrieving latest version for package {package.DisplayName} failed. Details: {e}."); 314_logger.LogDebug($"Installing {installRequest.DisplayName} failed. Details:{e}"); 353_logger.LogDebug("Uninstalling {0} failed. Details:{1}", templatePackage.DisplayName, e); 408_logger.LogDebug($"Details: {ex}."); 426_logger.LogDebug($"Details: {ex}.");
Installers\NuGet\NuGetLogger.cs (3)
55_baseLogger.LogDebug(data); 66_baseLogger.LogDebug(data); 81_baseLogger.LogDebug(data);
Installers\NuGet\NuGetManagedTemplatePackage.cs (1)
107_logger.LogDebug($"Failed to get last changed time for {MountPointUri}, details: {e}");
Settings\Scanner.cs (3)
196_logger.LogDebug($"During ScanForComponents() cleanup, couldn't delete source copied into the content dir: {actualScanPath}. Details: {ex}."); 219_logger.LogDebug($"Error copying scanLocation: {sourceLocation} into the target dir: {targetPath}"); 243_logger.LogDebug("Scanning mount point '{0}' by generator '{1}': found {2} templates", source.MountPoint.MountPointUri, generator.Id, templateList.Count);
Settings\TemplateCache.cs (2)
224settings.Host.Logger.LogDebug($"Start loading host config {template.MountPointUri}{path}"); 244settings.Host.Logger.LogDebug($"End loading host config {template.MountPointUri}{path}");
Settings\TemplatePackageManager.cs (5)
111_logger.LogDebug("Details: {0}", ex); 304_logger.LogDebug($"Template cache file version is {cache.Version}, but template engine is {TemplateInfo.CurrentVersion}, rebuilding cache."); 310_logger.LogDebug($"Template cache locale is {cache.Locale}, but CurrentUICulture is {CultureInfo.CurrentUICulture.Name}, rebuilding cache."); 363_logger.LogDebug($"Stack trace: {ex.StackTrace}"); 381_logger.LogDebug($"Stack trace: {ex.StackTrace}");
Template\TemplateCreator.cs (1)
314_logger.LogDebug($"Template {template.Identity} has an invalid DefaultIfOptionWithoutValue value for parameter {inputParam.ParameterDefinition.Name}"); // CodeQL [cs/privacy/suspicious-logging-arguments] False Positive: CodeQL wrongly detected "Identity"
TemplateConstraintManager.cs (15)
24_logger.LogDebug($"Found {constraintFactories.Count()} constraints factories, initializing."); 56_logger.LogDebug($"Waiting for {constraintsToInitialize.Count()} to be initialized."); 58_logger.LogDebug($"{constraintsToInitialize.Count()} constraints were initialized."); 72_logger.LogDebug($"Details: {constraint.Task.Exception}."); 75_logger.LogDebug($"{constraintsToInitialize.Count(c => c.Task.Status == TaskStatus.RanToCompletion)} constraints were initialized."); 96_logger.LogDebug($"The constraint '{type}' is unknown."); 104_logger.LogDebug($"The constraint '{type}' is not initialized, waiting for initialization."); 106_logger.LogDebug($"The constraint '{type}' is initialized successfully."); 123_logger.LogDebug($"The constraint '{type}' failed to be initialized, details: {exception}."); 133_logger.LogDebug($"The constraint '{type}' failed to be evaluated for the args '{args}', details: {e}."); 167_logger.LogDebug($"The constraint(s) are not initialized, waiting for initialization."); 169_logger.LogDebug($"The constraint(s) are initialized successfully."); 190_logger.LogDebug($"The constraint '{constraint.Type}' is unknown."); 198_logger.LogDebug($"The constraint '{constraint.Type}' failed to be initialized, details: {exception}."); 209_logger.LogDebug($"The constraint '{constraint.Type}' failed to be evaluated for the args '{constraint.Args}', details: {e}.");
ValidationUtils.cs (3)
17logger.LogDebug("Found template {0}", templateDisplayName); 43logger.LogDebug("Found template {0}", templateDisplayName); 116IValidationEntry.SeverityLevel.Info => (s) => logger.LogDebug(s),
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (55)
BindSymbolEvaluator.cs (16)
36_logger.LogDebug("No sources for bind symbols are available"); 39_logger.LogDebug( 63_logger.LogDebug("No bind symbols has '{0}' defined.", nameof(BindSymbol.Binding).ToLowerInvariant()); 103_logger.LogDebug( 120_logger.LogDebug("Variable '{0}' was set to '{1}'.", currentSymbol.Name, convertedValue); 132_logger.LogDebug( 146_logger.LogDebug("Evaluating binding '{0}'.", configuredBinding); 163_logger.LogDebug("Binding '{0}' does not define prefix. All the sources that do not require prefix will be queried for this binding.", configuredBinding); 169_logger.LogDebug( 175_logger.LogDebug("No sources matches prefix '{0}' does not define prefix. All the sources that do not require prefix will be queried for the binding '{1}'.", prefix, configuredBinding); 185_logger.LogDebug( 198_logger.LogDebug("No values were retrieved for '{0}'.", binding); 203_logger.LogDebug("'{0}' was retrieved for '{1}'.", successfulTasks.Single().Value, binding); 209_logger.LogDebug( 224_logger.LogDebug("'{0}' was selected for '{1}' as highest priority value.", highestPriorityTasks.Single().Value, binding); 244_logger.LogDebug("Failed to retrieve '{0}' from the source {1}: {2}", binding, nameof(task.Source), task.Task.Exception.Message);
Macros\CaseChangeMacro.cs (3)
21environmentSettings.Host.Logger.LogDebug("[{macro}]: Source variable '{sourceVar}' was not found, skipping processing for macro '{var}'.", nameof(CaseChangeMacro), config.Source, config.VariableName); 26environmentSettings.Host.Logger.LogDebug("[{macro}]: The value of source variable '{sourceVar}' is null, skipping processing for macro '{var}'.", nameof(CaseChangeMacro), config.Source, config.VariableName); 32environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to '{value}'.", nameof(CaseChangeMacro), config.VariableName, value);
Macros\CoalesceMacro.cs (6)
24environmentSettings.Host.Logger.LogDebug("[{macro}]: '{var}': source value '{source}' is not used, because it is equal to default value '{default}'.", nameof(CoalesceMacro), config.VariableName, currentSourceValue, config.DefaultValue); 31environmentSettings.Host.Logger.LogDebug( 41environmentSettings.Host.Logger.LogDebug("[{macro}]: '{var}': source value '{source}' is an empty string, fall back.", nameof(CoalesceMacro), config.VariableName, currentSourceValue); 46environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to '{value}'.", nameof(CoalesceMacro), config.VariableName, currentSourceValue); 53environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to fallback value '{value}'.", nameof(CoalesceMacro), config.VariableName, currentFallbackValue); 56environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was not assigned, neither source nor fallback variable was found.", nameof(CoalesceMacro), config.VariableName);
Macros\ConstantMacro.cs (1)
19environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(ConstantMacro), config.VariableName, config.Value);
Macros\EvaluateMacro.cs (1)
22environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(EvaluateMacro), config.VariableName, result);
Macros\GeneratePortNumberMacro.cs (2)
19environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(GeneratePortNumberMacro), config.VariableName, config.Port); 28environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}' in deterministic mode.", nameof(GeneratePortNumberMacro), config.VariableName, config.Low);
Macros\GuidMacro.cs (4)
27environmentSettings.Host.Logger.LogDebug("[{macro}]: deterministic mode enabled.", nameof(GuidMacro)); 52environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(GuidMacro), legacyName, value); 53environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(GuidMacro), newName, value); 61environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(GuidMacro), config.VariableName, defaultValue);
Macros\JoinMacro.cs (2)
28environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was not found, using empty value instead'.", nameof(JoinMacro), symbol.Value); 48environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(JoinMacro), config.VariableName, result);
Macros\NowMacro.cs (2)
21environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(NowMacro), config.VariableName, value); 32environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}' in deterministic mode.", nameof(NowMacro), config.VariableName, value);
Macros\ProcessValueFormMacro.cs (4)
21environmentSettings.Host.Logger.LogDebug("[{macro}]: Source variable '{sourceVar}' was not found, skipping processing for macro '{var}'.", nameof(ProcessValueFormMacro), config.SourceVariable, config.VariableName); 26environmentSettings.Host.Logger.LogDebug("[{macro}]: The value of source variable '{sourceVar}' is null, skipping processing for macro '{var}'.", nameof(ProcessValueFormMacro), config.SourceVariable, config.VariableName); 33environmentSettings.Host.Logger.LogDebug("[{macro}]: Processing form {formName} on {val} resulted in null.", nameof(JoinMacro), config.Forms, working); 37environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(JoinMacro), config.VariableName, result);
Macros\RandomMacro.cs (2)
20environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}'.", nameof(RandomMacro), config.VariableName, value); 29environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was assigned to value '{value}' in deterministic mode.", nameof(RandomMacro), config.VariableName, config.Low);
Macros\RegexMacro.cs (3)
21environmentSettings.Host.Logger.LogDebug("[{macro}]: Source variable '{sourceVar}' was not found, skipping processing for macro '{var}'.", nameof(RegexMacro), config.Source, config.VariableName); 26environmentSettings.Host.Logger.LogDebug("[{macro}]: The value of source variable '{sourceVar}' is null, skipping processing for macro '{var}'.", nameof(RegexMacro), config.Source, config.VariableName); 36environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to '{value}'.", nameof(RegexMacro), config.VariableName, value);
Macros\RegexMatchMacro.cs (3)
21environmentSettings.Host.Logger.LogDebug("[{macro}]: Source variable '{sourceVar}' was not found, skipping processing for macro '{var}'.", nameof(RegexMatchMacro), config.Source, config.VariableName); 26environmentSettings.Host.Logger.LogDebug("[{macro}]: The value of source variable '{sourceVar}' is null, skipping processing for macro '{var}'.", nameof(RegexMatchMacro), config.Source, config.VariableName); 32environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to '{value}'.", nameof(RegexMatchMacro), config.VariableName, result);
Macros\SwitchMacro.cs (1)
36environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to '{value}'.", nameof(SwitchMacro), config.VariableName, result);
OperationConfig\ReplacementConfig.cs (1)
77environmentSettings.Host.Logger.LogDebug($"Couldn't find a variable called {tokens.VariableName}");
RunnableProjectConfig.cs (1)
73Logger.LogDebug("Details: {0}", ex);
RunnableProjectGenerator.cs (1)
341logger.LogDebug($"Found {TemplateConfigFileName} at {file.GetDisplayPath()}.");
ScannedTemplateInfo.cs (2)
55Logger.LogDebug($"Found host configuration file at {hostFile.GetDisplayPath()}."); 86Logger.LogDebug("Details: {0}", ex);
Microsoft.TemplateEngine.Utils (3)
InstallRequestPathResolution.cs (1)
81environmentSettings.Host.Logger.LogDebug("Failed to parse masked path {0}, {1}.", maskedPath, ex.ToString());
Timing.cs (2)
22_logger.LogDebug($"{_label} started"); 33_logger.LogDebug($"{_label} finished, took {_stopwatch.ElapsedMilliseconds} ms");
Microsoft.TemplateSearch.Common (49)
Providers\NuGetMetadataSearchProvider.cs (23)
71_logger.LogDebug("Initializing search cache..."); 74_logger.LogDebug("Search cache was successfully setup."); 78_logger.LogDebug("Retrieved {0} packages matching package search criteria.", filteredPackages.Count()); 85_logger.LogDebug("Retrieved {0} packages matching template search criteria.", matchingTemplates.Count); 96_logger.LogDebug("{0} is set to {1}, the search file will be loaded from this location instead.", LocalSourceSearchFileOverrideEnvVar, localOverridePath); 101_logger.LogDebug("Failed to load search cache from defined location: file {0} does not exist.", localOverridePath); 106_logger.LogDebug("Search cache file location: {0}.", preferredMetadataLocation); 110_logger.LogDebug("{0} is set to {1}, downloading of the search cache will be skipped.", UseLocalSearchFileIfPresentEnvVar, useLocalSearchFile); 118_logger.LogDebug("Failed to load existing search cache: file {0} does not exist.", preferredMetadataLocation); 124_logger.LogDebug("Updating the search cache..."); 137_logger.LogDebug("Checking the age of search cache..."); 142_logger.LogDebug("The search cache was updated on {0}", lastWriteTimeUtc); 145_logger.LogDebug("The search cache was updated less than {0} hours ago, the update will be skipped.", CachedFileValidityInHours); 148_logger.LogDebug("The search cache was updated more than {0} hours ago, and needs to be updated.", CachedFileValidityInHours); 151_logger.LogDebug("The search cache file {0} doesn't exist, and needs to be created.", metadataFileTargetLocation); 168_logger.LogDebug("Retrieving cache file from {0} ...", searchMetadataUri); 186_logger.LogDebug(GetResponseDetails(response)); 195_logger.LogDebug("Search cache file was successfully downloaded to {0}.", searchMetadataFileLocation); 202_logger.LogDebug("ETag {0} was written to {1}.", etagValues.First(), etagFileLocation); 208_logger.LogDebug("Search cache file is not modified, updating the last modified date to now."); 219_logger.LogDebug("Failed to download {0}, details: {1}", searchMetadataUri, e); 226_logger.LogDebug("Failed to update search cache, {0} will be used instead.", searchMetadataFileLocation); 231_logger.LogDebug("Failed to update search cache from all known locations.");
TemplateDiscoveryMetadata\LegacySearchCacheReader.cs (17)
58environmentSettings.Host.Logger.LogDebug($"Reading cache file {pathToConfig}"); 83logger.LogDebug($"Reading template metadata version"); 87logger.LogDebug($"Version: {version}."); 90logger.LogDebug($"Failed to read template metadata version."); 100logger.LogDebug($"Reading template list"); 120logger.LogDebug($"Failed to read template info entry, missing mandatory fields. Details: {ex}"); 126logger.LogDebug($"Successfully read {buildingTemplateList.Count} templates."); 131logger.LogDebug($"Failed to read template info entries. Details: no TemplateCache property found."); 137logger.LogDebug($"Failed to read template info entries. Details: {ex}"); 145logger.LogDebug($"Reading package information."); 151logger.LogDebug($"Failed to read package info entries. Details: no PackToTemplateMap property found."); 196logger.LogDebug($"Successfully read {workingPackToTemplateMap.Count} packages."); 202logger.LogDebug($"Failed to read package info entries. Details: {ex}"); 215logger.LogDebug($"Reading additional information."); 220logger.LogDebug($"Failed to read package info entries. Details: no AdditionalData property found."); 243logger.LogDebug($"Failed to read additional info entries. Details: {ex}"); 249logger.LogDebug($"Successfully read {workingAdditionalData.Count} additional information entries.");
TemplateSearchCache\TemplatePackageSearchData.Json.cs (1)
57logger.LogDebug($"Template package {Name}: Failed to read template data {template}, details: {ex}.");
TemplateSearchCache\TemplateSearchCache.Json.cs (7)
45logger.LogDebug($"Failed to read template search cache, version: {version}."); 67logger.LogDebug($"Failed to read template package data {templatePackage}, details: {ex}"); 94logger.LogDebug($"Failed to read additional info entries. Details: {ex}"); 113logger.LogDebug($"Reading template search cache version"); 117logger.LogDebug($"Version: {version}."); 124logger.LogDebug($"Unsupported template search cache version."); 129logger.LogDebug($"Failed to read template search cache version.");
TemplateSearchCoordinator.cs (1)
70_environmentSettings.Host.Logger.LogDebug("Search by provider {0} failed, details: {1}", provider.Factory.DisplayName, ex);
OrderProcessor (1)
OrderProcessingWorker.cs (1)
61_logger.LogDebug("""
Stress.TelemetryService (2)
TelemetryStresser.cs (2)
85logger.LogDebug($"Export complete. Rejected count: {result.RejectedDataPoints}"); 129logger.LogDebug("Export complete. Rejected log count: {RejectedLogCount}", result.RejectedLogRecords);