1470 references to LogDebug
aspire (687)
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\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\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.ResourceTerminals.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\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);
587_logger.LogDebug("Prompting for multiple selections with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys);
612_logger.LogDebug("Prompting for confirmation with text: {PromptText}, default value: {DefaultValue}", promptText, defaultValue);
638_logger.LogDebug("Prompting for string with text: {PromptText}, default value: {DefaultValue}, required: {Required}", promptText, defaultValue, required);
664_logger.LogDebug("Prompting for secret string with text: {PromptText}, required: {Required}", promptText, required);
688_logger.LogDebug("Prompting for file path with text: {PromptText}, default value: {DefaultValue}, directory: {Directory}", promptText, defaultValue, directory);
706_logger.LogDebug("Opening path: {Path}", path);
741_logger.LogDebug("Sent plain text message {Message}", text);
757_logger.LogDebug("Sent debug session message {Message}", message);
793_logger.LogDebug("Requesting capabilities from the extension");
811_logger.LogDebug("Running project at {ProjectFile} with {ArgumentCount} arguments", projectFile, arguments.Count);
827_logger.LogDebug("Notifying that app host startup is completed");
844_logger.LogDebug("Starting extension debugging session in directory {WorkingDirectory} for project file {ProjectFile} with command={Command} debug={Debug}",
861_logger.LogDebug("Stopping extension debugging session");
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.");
177logger.LogDebug("Bundle already extracted and up to date (version: {Version}).", existingVersion);
181logger.LogDebug("Version mismatch: existing={ExistingVersion}, current={CurrentVersion}. Re-extracting.", existingVersion, currentVersion);
197logger.LogDebug("No embedded bundle payload, skipping extraction.");
204logger.LogDebug("ProcessPath is null or empty, skipping bundle extraction.");
224logger.LogDebug("Could not determine extraction directory from {ProcessPath}, skipping.", processPath);
248logger.LogDebug("Versioned layout {Path} not valid or missing; extracting fresh.", activeVersionDir);
256logger.LogDebug("Reusing existing versioned layout at {Path}.", activeVersionDir);
285logger.LogDebug("Version marker written (version: {Version}).", currentVersion);
303logger.LogDebug("Bundle extraction verified successfully.");
336logger.LogDebug("Payload extraction into {Path} completed in {ElapsedMs}ms.", tempDir, sw.ElapsedMilliseconds);
416logger.LogDebug(
531logger.LogDebug("Migrating legacy directory at {Path} to {Renamed}.", linkPath, renamedPath);
546logger.LogDebug("Linked {Link} -> {Target}", linkPath, target);
759logger.LogDebug("Removed legacy directory at {Path}.", legacyPath);
Certificates\CertificateGeneration\CertificateManager.cs (63)
1106_logger.LogDebug("Listing certificates from {Location}\\{StoreName}", location, storeName);
1110_logger.LogDebug("Found certificates: {MatchingCertificates}", matchingCertificates);
1114_logger.LogDebug("Checking certificates validity");
1118_logger.LogDebug("Valid certificates: {ValidCertificates}", validCertificates);
1122_logger.LogDebug("Invalid certificates: {InvalidCertificates}", invalidCertificates);
1126_logger.LogDebug("Finished listing certificates.");
1134_logger.LogDebug("Filtered certificates: {FilteredCertificates}", filteredCertificates);
1138_logger.LogDebug("Excluded certificates: {ExcludedCertificates}", excludedCertificates);
1142_logger.LogDebug("Valid certificates: {Certificates}", certificates);
1146_logger.LogDebug("Selected certificate: {Certificate}", certificate);
1150_logger.LogDebug("No valid certificates found.");
1154_logger.LogDebug("Generating HTTPS development certificate.");
1158_logger.LogDebug("Finished generating HTTPS development certificate.");
1166_logger.LogDebug("Saving certificate '{Certificate}' to store {Location}\\{StoreName}.", certificate, location, name);
1170_logger.LogDebug("Finished saving certificate to the store.");
1178_logger.LogDebug("Saving certificate '{Certificate}' to {Path} {PrivateKey} private key.", certificate, path, includePrivateKey ? "with" : "without");
1182_logger.LogDebug("Exporting certificate with private key but no password.");
1186_logger.LogDebug("Creating directory {Path}.", path);
1194_logger.LogDebug("Writing the certificate to: {Path}.", path);
1202_logger.LogDebug("Trusting the certificate to: {Certificate}.", certificate);
1206_logger.LogDebug("Finished trusting the certificate.");
1214_logger.LogDebug("Running the trust command {Command}.", command);
1218_logger.LogDebug("Finished running the trust command.");
1226_logger.LogDebug("Running the remove trust command for {Certificate}.", certificate);
1230_logger.LogDebug("Finished running the remove trust command.");
1238_logger.LogDebug("The certificate is not trusted: {Certificate}.", certificate);
1242_logger.LogDebug("Removing the certificate from the keychain {KeyChain} {Certificate}.", keyChain, certificate);
1246_logger.LogDebug("Finished removing the certificate from the keychain.");
1254_logger.LogDebug("Removing the certificate from the user store {Certificate}.", certificate);
1258_logger.LogDebug("Finished removing the certificate from the user store.");
1266_logger.LogDebug("Adding certificate to the trusted root certification authority store.");
1270_logger.LogDebug("The certificate is already trusted.");
1274_logger.LogDebug("Trusting the certificate was cancelled by the user.");
1278_logger.LogDebug("Removing the certificate from the trusted root certification authority store.");
1282_logger.LogDebug("Finished removing the certificate from the trusted root certification authority store.");
1286_logger.LogDebug("The certificate was not trusted.");
1290_logger.LogDebug("Correcting the the certificate state for '{Certificate}'.", certificate);
1294_logger.LogDebug("Finished correcting the certificate state.");
1302_logger.LogDebug("Importing the certificate {Certificate} to the keychain '{Keychain}'.", certificate, keychain);
1306_logger.LogDebug("Finished importing the certificate to the keychain.");
1314_logger.LogDebug("Writing the certificate to: {Path}.", path);
1330_logger.LogDebug("Loading certificate from path '{CertificatePath}'.", certificatePath);
1334_logger.LogDebug("The certificate '{Description}' has been loaded successfully.", description);
1346_logger.LogDebug("The certificate is already trusted.");
1350_logger.LogDebug("Saving the certificate {Certificate} to the user profile folder '{Directory}'.", certificate, directory);
1354_logger.LogDebug("Finished saving the certificate to the user profile folder.");
1374_logger.LogDebug("Reading OpenSSL trusted certificates location from {NssDbOverrideVariableName}.", nssDbOverrideVariableName);
1378_logger.LogDebug("Reading NSS database locations from {Source}.", source);
1398_logger.LogDebug("Home directory '{HomeDirectory}' does not exist. Unable to discover NSS databases for user '{Username}'. This will likely affect browsers.", homeDirectory, username);
1402_logger.LogDebug("OpenSSL reported its directory in an unexpected format.");
1406_logger.LogDebug("Unable to determine the OpenSSL directory.");
1410_logger.LogDebug("Unable to determine the OpenSSL directory: {ExceptionMessage}.", exceptionMessage);
1434_logger.LogDebug("Trusted the certificate in .NET.");
1442_logger.LogDebug("Trusted the certificate in OpenSSL.");
1450_logger.LogDebug("Trusted the certificate in the NSS database in '{Path}'.", path);
1462_logger.LogDebug("Untrusted the certificate in OpenSSL.");
1470_logger.LogDebug("Removed the certificate from the NSS database in '{Path}'.", path);
1494_logger.LogDebug("No Firefox profiles found in directory '{FirefoxDirectory}'.", firefoxDirectory);
1514_logger.LogDebug("Untrusting the certificate in OpenSSL was skipped since '{CertPath}' does not exist.", certPath);
1538_logger.LogDebug("The certificate directory '{CertDir}' is already included in the {EnvVarName} environment variable.", certDir, envVarName);
1546_logger.LogDebug("Successfully trusted the certificate in the Windows certificate store via WSL.");
1558_logger.LogDebug("Meets minimum version certificates: {MeetsMinimumVersionCertificates}", meetsMinimumVersionCertificates);
1562_logger.LogDebug("Below minimum version certificates: {BelowMinimumVersionCertificates}", belowMinimumVersionCertificates);
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\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);
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 (39)
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);
258_logger.LogDebug("TryInferLayout: Checking layout at {Path}", layoutPath);
259_logger.LogDebug(" {Dir}/{Managed}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.ManagedDirectoryName, Directory.Exists(bundleManagedPath) ? "exists" : "MISSING");
260_logger.LogDebug(" {Dir}/{Dashboard}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DashboardDirectoryName, Directory.Exists(bundleDashboardPath) ? "exists" : "MISSING");
261_logger.LogDebug(" {Dir}/{Dcp}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DcpDirectoryName, Directory.Exists(bundleDcpPath) ? "exists" : "MISSING");
267_logger.LogDebug(" {Dir}/{Managed}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.ManagedDirectoryName, managedExeName, File.Exists(bundleManagedExe) ? "exists" : "MISSING");
268_logger.LogDebug(" {Dir}/{Dashboard}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DashboardDirectoryName, dashboardExeName, File.Exists(bundleDashboardExe) ? "exists" : "MISSING");
269_logger.LogDebug(" {Dir}/{Dcp}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DcpDirectoryName, Path.GetFileName(bundleDcpExe), File.Exists(bundleDcpExe) ? "exists" : "MISSING");
273_logger.LogDebug("TryInferLayout: New bundle/ layout is valid");
293_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.ManagedDirectoryName, Directory.Exists(managedPath) ? "exists" : "MISSING");
294_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DashboardDirectoryName, Directory.Exists(dashboardPath) ? "exists" : "MISSING");
295_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DcpDirectoryName, Directory.Exists(dcpPath) ? "exists" : "MISSING");
299_logger.LogDebug("TryInferLayout: Layout rejected - missing required directories");
306_logger.LogDebug(" managed/{ManagedExe}: {Exists}", managedExeName, File.Exists(managedExePath) ? "exists" : "MISSING");
307_logger.LogDebug(" dashboard/{DashboardExe}: {Exists}", dashboardExeName, File.Exists(dashboardExePath) ? "exists" : "MISSING");
308_logger.LogDebug(" dcp/{DcpExe}: {Exists}", Path.GetFileName(dcpExePath), File.Exists(dcpExePath) ? "exists" : "MISSING");
312_logger.LogDebug("TryInferLayout: Layout rejected - required executable not found");
316_logger.LogDebug("TryInferLayout: Flat layout is valid");
333_logger.LogDebug("DCP path override from {EnvVar}", BundleDiscovery.DcpPathEnvVar);
337_logger.LogDebug("Managed path override from {EnvVar}", BundleDiscovery.ManagedPathEnvVar);
349_logger.LogDebug("Layout validation failed: aspire-managed not found at {Path}", managedPath);
356_logger.LogDebug("Layout validation failed: Dashboard not found at {Path}", dashboardPath);
366_logger.LogDebug("Layout validation failed: DCP not found");
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(
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);
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.");
1679_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
1905_logger.LogDebug(
2122_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
Projects\PrebuiltAppHostServer.cs (8)
349_logger.LogDebug("Restoring {Count} integration packages via bundled NuGet", packageRefs.Count);
836_logger.LogDebug("Building integration project with {PackageCount} packages and {ProjectCount} project references (restore {RestoreState})",
842_logger.LogDebug("Integration project build failed on the restore assets; retrying with restore. First attempt output:\n{BuildOutput}",
1019_logger.LogDebug("Resolved channel: {Channel}", channelName);
1327_logger.LogDebug("Using local package source '{Source}' for channel '{Channel}'.", source, requestedChannel);
1416_logger.LogDebug("PrebuiltAppHostServer({ProcessId}) stdout: {Line}", execution.ProcessId, line);
1500_logger.LogDebug("Setting {EnvironmentVariable} to {Path}", KnownConfigNames.IntegrationLibsPath, _integrationLibsPath);
1510_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);
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);
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);
Aspire.Cli.Tests (3)
Aspire.Dashboard (73)
Components\Pages\ConsoleLogs.razor.cs (28)
61s._logger.LogDebug("Canceling subscription {SubscriptionId} to {ResourceName}.", s.SubscriptionId, s.Resource.Name);
69_logger.LogDebug("Canceling subscription for resource {ResourceName}.", Resource.Name);
255Logger.LogDebug("Loading task completed.");
259Logger.LogDebug("Load task canceled.");
276Logger.LogDebug("Received initial resource snapshot with {ResourceCount} resources.", snapshot.Length);
296Logger.LogDebug("All resources selected.");
364Logger.LogDebug("Selected console resource from name {ResourceName}.", ResourceName);
424Logger.LogDebug("Setting status to '{StatusName}'.", statusName);
430Logger.LogDebug("Initializing console logs view model.");
447Logger.LogDebug("Switching to or from 'All' mode");
452Logger.LogDebug("Switching to different single resource: {ResourceName}", selectedResourceName);
481Logger.LogDebug("Subscription change needed. IsAllSelected: {IsAllSelected}, SelectedResource: {SelectedResource}", isAllSelected, selectedResourceName);
517Logger.LogDebug("Resource '{ResourceName}' has terminal at replica {ReplicaIndex}", selectedResourceName, replicaIndex);
544Logger.LogDebug("Creating new log entries collection.");
569Logger.LogDebug("Unexpected state. Unknown resource '{ResourceName}' selected.", selectedResourceName);
818Logger.LogDebug("Subscribing to {ResourceCount} resources for 'All' view.", availableResources.Count);
822Logger.LogDebug("No resources available to subscribe to for 'All' view - will show empty logs.");
837Logger.LogDebug("Successfully created {SubscriptionCount} subscriptions for 'All' view.", _consoleLogsSubscriptions.Count);
846Logger.LogDebug("Already subscribed to resource {ResourceName}.", resourceName);
851Logger.LogDebug("Creating new subscription {SubscriptionId} for resource {ResourceName}.", subscription.SubscriptionId, resourceName);
857Logger.LogDebug("Started log subscription task for resource {ResourceName}.", resourceName);
1008Logger.LogDebug("Starting log subscription {SubscriptionId}.", subscription.SubscriptionId);
1013Logger.LogDebug("Subscribing to console logs with subscription {SubscriptionId} to resource {ResourceName}.", subscription.SubscriptionId, subscription.Resource.Name);
1036Logger.LogDebug("Adding {PauseIntervalsCount} pause intervals on initial logs load.", pauseIntervals.Length);
1094Logger.LogDebug("Subscription {SubscriptionId} finished watching logs for resource {ResourceName}. Cancel duration: {Duration}", subscription.SubscriptionId, subscription.Resource.Name, subscription.GetCancelElapsedTime());
1199Logger.LogDebug("Console logs paused new value: {IsPausedNewValue}", isPaused);
1212Logger.LogDebug("Inserting new pause log entry for {Resource} starting at {StartTimestamp}.", subscription.Resource.Name, timestamp);
1226Logger.LogDebug("Updating pause log entry for {Resource} starting at {StartTimestamp} with end of {EndTimestamp}.", subscription.Resource.Name, pause.StartTime, timestamp);
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);
Aspire.Hosting (207)
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);
Dcp\DcpExecutor.cs (16)
636_logger.LogDebug("Preparing services. Ports randomized: {RandomizePorts}", _options.Value.RandomizePorts);
848_logger.LogDebug("Using persisted public port {Port} for proxyless endpoint '{EndpointName}' on persistent resource '{ResourceName}'.", persistedPort, endpoint.Name, resource.Name);
853_logger.LogDebug("Allocated public port {Port} for proxyless endpoint '{EndpointName}' on resource '{ResourceName}'.", publicPort, endpoint.Name, resource.Name);
902_logger.LogDebug("Ignoring invalid persisted public port value '{Port}' for proxyless endpoint '{EndpointName}' on persistent resource '{ResourceName}'.", configuredPort, endpoint.Name, resource.Name);
1170_logger.LogDebug("Stopping resource '{ResourceName}'...", resourceReference.DcpResourceName);
1192_logger.LogDebug("Container '{ResourceName}' was stopped.", resourceReference.DcpResourceName);
1197_logger.LogDebug("Container '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName);
1207_logger.LogDebug("Executable '{ResourceName}' was stopped.", resourceReference.DcpResourceName);
1212_logger.LogDebug("Executable '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName);
1246_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", appResource.DcpResourceKind, resourceReference.DcpResourceName);
1315_logger.LogDebug("Ensuring '{ResourceName}' is deleted.", resource.DcpResourceName);
1333_logger.LogDebug("Delete request for '{ResourceName}' successfully completed. Resource to delete has UID '{Uid}'.", resourceName, uid);
1337_logger.LogDebug("Delete request for '{ResourceName}' returned NotFound.", resourceName);
1350_logger.LogDebug("Polling DCP to check if '{ResourceName}' is deleted...", resourceName);
1352_logger.LogDebug("Get request for '{ResourceName}' returned resource with UID '{Uid}'.", resourceName, uid);
1358_logger.LogDebug("Get request for '{ResourceName}' returned NotFound.", resourceName);
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);
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\ResourceContainerImageManager.cs (16)
316logger.LogDebug("Building container images completed");
325logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name);
335logger.LogDebug("{ContainerRuntimeName} is healthy", containerRuntime.Name);
344logger.LogDebug("Building container images completed");
355logger.LogDebug(
391logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name);
401logger.LogDebug("{ContainerRuntimeName} is healthy", containerRuntime.Name);
547logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name);
629logger.LogDebug("dotnet publish {ProjectPath} (stdout): {Output}", projectMetadata.ProjectPath, output);
634logger.LogDebug("dotnet publish {ProjectPath} (stderr): {Error}", projectMetadata.ProjectPath, error);
638logger.LogDebug(
673logger.LogDebug(
821OnErrorData = error => logger.LogDebug("dotnet {Command} (stderr): {Error}", command, error),
825logger.LogDebug(
835logger.LogDebug(
845logger.LogDebug(
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);
Aspire.Hosting.Azure (28)
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)
Aspire.Hosting.Azure.Kusto (2)
Aspire.Hosting.Browsers (3)
Aspire.Hosting.Browsers.Tests (3)
Aspire.Hosting.DevTunnels (10)
Aspire.Hosting.Dotnet (4)
Aspire.Hosting.EntityFrameworkCore (3)
Aspire.Hosting.Foundry (2)
Aspire.Hosting.JavaScript (4)
Aspire.Hosting.Kubernetes (34)
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)
Aspire.Hosting.Maui (3)
Aspire.Hosting.MySql (2)
Aspire.Hosting.PostgreSQL (3)
Aspire.Hosting.Radius (8)
Aspire.Hosting.RemoteHost (49)
CodeGeneration\CodeGenerationService.cs (6)
62_logger.LogDebug(">> getCapabilities()");
87_logger.LogDebug("<< getCapabilities() completed in {ElapsedMs}ms", sw.ElapsedMilliseconds);
243_logger.LogDebug(">> generateCode({Language})", language);
263_logger.LogDebug("<< generateCode({Language}) completed in {ElapsedMs}ms, generated {FileCount} files", language, sw.ElapsedMilliseconds, files.Count);
314_logger.LogDebug(">> exportApi({Language}, {PackageName}, {PackageVersion})", language, packageName, packageVersion);
354_logger.LogDebug("<< exportApi({Language}, {PackageName}) completed in {ElapsedMs}ms", language, packageName, sw.ElapsedMilliseconds);
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);
Aspire.Hosting.SqlServer (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (2)
Aspire.TerminalHost (5)
dotnet-format (6)
dotnet-watch (12)
Microsoft.AspNetCore.Authentication.Negotiate (3)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authorization.Policy (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Http.Results (3)
Microsoft.AspNetCore.Mvc.Core (3)
Microsoft.AspNetCore.Server.IntegrationTesting (8)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.StaticAssets (3)
Microsoft.AspNetCore.StaticFiles (3)
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.CodeAnalysis.ExternalAccess.HotReload (2)
Microsoft.Diagnostics.NETCore.Client (34)
Microsoft.DotNet.HotReload.Watch (52)
Microsoft.Extensions.Caching.Memory (3)
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Microsoft.TemplateEngine.Cli (2)
Microsoft.TemplateEngine.Core (1)
Microsoft.TemplateEngine.Edge (50)
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\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\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\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);
Microsoft.TemplateEngine.Utils (3)
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.");
OrderProcessor (1)
Stress.TelemetryService (2)