1193 references to LogDebug
aspire (508)
Agents\Playwright\PlaywrightCliInstaller.cs (13)
93logger.LogDebug("Using version override from '{ConfigKey}': {Version}", VersionOverrideKey, versionOverride);
96logger.LogDebug("Resolving {Package}@{Range} from npm registry", PackageName, effectiveRange);
105logger.LogDebug("Resolved {Package}@{Version} with integrity {Integrity}", PackageName, packageInfo.Version, packageInfo.Integrity);
114logger.LogDebug(
128logger.LogDebug(
150logger.LogDebug("Verifying provenance for {Package}@{Version}", PackageName, packageInfo.Version);
173logger.LogDebug(
186logger.LogDebug("Downloading {Package}@{Version} to {TempDir}", PackageName, packageInfo.Version, tempDir);
207logger.LogDebug("Integrity verification passed for {TarballPath}", tarballPath);
211logger.LogDebug("Installing {Package}@{Version} globally", PackageName, packageInfo.Version);
221logger.LogDebug("Generating Playwright CLI skill files");
258logger.LogDebug("Primary skill directory does not exist: {PrimarySkillDir}", primarySkillDir);
275logger.LogDebug("Mirrored playwright-cli skills to {TargetDir}", targetSkillDir);
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 (24)
144logger?.LogDebug("Connecting to auxiliary backchannel at {SocketPath}", socketPath);
156logger?.LogDebug("Connected to auxiliary backchannel at {SocketPath}", socketPath);
180logger?.LogDebug("AppHost capabilities: {Capabilities}", capabilities is not null ? string.Join(", ", capabilities) : "null");
186logger?.LogDebug("AppHost does not support GetCapabilitiesAsync, assuming v1 only");
206_logger?.LogDebug("Requesting AppHost information");
221_logger?.LogDebug("Requesting AppHost to stop");
230_logger?.LogDebug("Stop request sent to AppHost");
250_logger?.LogDebug("Requesting Dashboard MCP connection info");
265_logger?.LogDebug("Requesting Dashboard URLs");
289_logger?.LogDebug("Getting resource snapshots");
315_logger?.LogDebug("Starting resource snapshots watch");
350_logger?.LogDebug("Getting resource logs for {ResourceName} (follow={Follow})", resourceName ?? "all resources", follow);
391_logger?.LogDebug("Requesting AppHost to call MCP tool {ToolName} on resource {ResourceName}", toolName, resourceName);
430_logger?.LogDebug("Getting AppHost info (v2)");
475_logger?.LogDebug("Getting Dashboard info (v2)");
512_logger?.LogDebug("Getting resources (v2)");
548_logger?.LogDebug("Watching resources (v2)");
602_logger?.LogDebug("Getting console logs (v2) for {ResourceName}", request.ResourceName);
669_logger?.LogDebug("Calling MCP tool (v2) {ToolName} on {ResourceName}", request.ToolName, request.ResourceName);
694_logger?.LogDebug("Stopping AppHost (v2)");
721_logger?.LogDebug("Executing command '{CommandName}' on resource '{ResourceName}'", commandName, resourceName);
734_logger?.LogDebug("Command '{CommandName}' on resource '{ResourceName}' completed with success={Success}", commandName, resourceName, response.Success);
757_logger?.LogDebug("Waiting for resource '{ResourceName}' to reach status '{Status}' with timeout {Timeout}s", resourceName, status, timeoutSeconds);
771_logger?.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.State);
Backchannel\AuxiliaryBackchannelMonitor.cs (13)
147logger.LogDebug("Current command is not MCP start command. Auxiliary backchannel monitoring disabled.");
179logger.LogDebug("No command selected within timeout. Auxiliary backchannel monitoring not needed.");
222logger.LogDebug("Socket created: {SocketPath}", newFile);
230logger.LogDebug("Socket deleted: {SocketPath}", removedFile);
273logger.LogDebug("Marked failed socket for retry on next scan: {SocketPath}", failedSocket);
294logger.LogDebug("Already connected to socket: {SocketPath}", socketPath);
302logger.LogDebug("Socket is orphaned (PID {Pid} not running), skipping: {SocketPath}", pidValue, socketPath);
310logger.LogDebug("Deleted orphaned socket: {SocketPath}", socketPath);
345logger.LogDebug("Retrying connection to auxiliary socket: {SocketPath}", socketPath);
372logger.LogDebug("Socket connection refused but file is new ({Age}ms old), will retry: {SocketPath}", (int)socketAge.TotalMilliseconds, socketPath);
378logger.LogDebug("Socket connection refused (stale socket): {SocketPath}", socketPath);
383logger.LogDebug("Socket not ready yet, will retry: {SocketPath}", socketPath);
396logger.LogDebug("Socket connection timed out after {ElapsedSeconds} seconds: {SocketPath}", maxElapsed.TotalSeconds, socketPath);
Backchannel\ExtensionBackchannel.cs (29)
104_logger.LogDebug("Starting backchannel connection to Aspire extension at {Endpoint}", endpoint);
115_logger.LogDebug("Connected to ExtensionBackchannel at {Endpoint}", endpoint);
124_logger.LogDebug("Slow polling for backchannel connection (attempt {ConnectionAttempts}), {SocketException}", connectionAttempts, ex);
168_logger.LogDebug("Connecting to {Name} backchannel at {SocketPath}", Name, endpoint);
178_logger.LogDebug("Connected to {Name} backchannel at {SocketPath}", Name, endpoint);
258_logger.LogDebug("Sent message {Message}", message);
274_logger.LogDebug("Sent success message {Message}", message);
290_logger.LogDebug("Sent subtle message {Message}", message);
306_logger.LogDebug("Sent error message {Error}", error);
322_logger.LogDebug("Sent empty line");
338_logger.LogDebug("Sent incompatible version error for capability {RequiredCapability} with hosting SDK version {AppHostHostingSdkVersion}",
355_logger.LogDebug("Sent cancellation message");
371_logger.LogDebug("Sent lines for display");
387_logger.LogDebug("Sent dashboard URLs for display");
403_logger.LogDebug("Sent status update: {Status}", status);
424_logger.LogDebug("Prompting for selection with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys);
454_logger.LogDebug("Prompting for multiple selections with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys);
479_logger.LogDebug("Prompting for confirmation with text: {PromptText}, default value: {DefaultValue}", promptText, defaultValue);
505_logger.LogDebug("Prompting for string with text: {PromptText}, default value: {DefaultValue}, required: {Required}", promptText, defaultValue, required);
531_logger.LogDebug("Prompting for secret string with text: {PromptText}, required: {Required}", promptText, required);
555_logger.LogDebug("Prompting for file path with text: {PromptText}, default value: {DefaultValue}, directory: {Directory}", promptText, defaultValue, directory);
573_logger.LogDebug("Opening path: {Path}", path);
608_logger.LogDebug("Sent plain text message {Message}", text);
624_logger.LogDebug("Sent debug session message {Message}", message);
646_logger.LogDebug("Requesting capabilities from the extension");
664_logger.LogDebug("Running project at {ProjectFile} with arguments: {Arguments}", projectFile, string.Join(" ", arguments));
680_logger.LogDebug("Notifying that app host startup is completed");
697_logger.LogDebug("Starting extension debugging session in directory {WorkingDirectory} for project file {ProjectFile} with command={Command} debug={Debug}",
714_logger.LogDebug("Stopping extension debugging session");
Bundles\BundleService.cs (13)
53logger.LogDebug("No embedded bundle payload, skipping extraction.");
60logger.LogDebug("ProcessPath is null or empty, skipping bundle extraction.");
67logger.LogDebug("Could not determine extraction directory from {ProcessPath}, skipping.", processPath);
71logger.LogDebug("Ensuring bundle is extracted to {ExtractDir}.", extractDir);
93logger.LogDebug("No embedded bundle payload.");
99logger.LogDebug("Acquiring bundle extraction lock at {LockPath}...", lockPath);
101logger.LogDebug("Bundle extraction lock acquired.");
112logger.LogDebug("Bundle already extracted and up to date (version: {Version}).", existingVersion);
116logger.LogDebug("Version mismatch: existing={ExistingVersion}, current={CurrentVersion}. Re-extracting.", existingVersion, currentVersion);
133logger.LogDebug("Cleaning existing layout directories in {Path}.", destinationPath);
139logger.LogDebug("Payload extraction completed in {ElapsedMs}ms.", sw.ElapsedMilliseconds);
144logger.LogDebug("Version marker written (version: {Version}).", currentVersion);
153logger.LogDebug("Bundle extraction verified successfully.");
Certificates\CertificateGeneration\CertificateManager.cs (63)
1104_logger.LogDebug("Listing certificates from {Location}\\{StoreName}", location, storeName);
1108_logger.LogDebug("Found certificates: {MatchingCertificates}", matchingCertificates);
1112_logger.LogDebug("Checking certificates validity");
1116_logger.LogDebug("Valid certificates: {ValidCertificates}", validCertificates);
1120_logger.LogDebug("Invalid certificates: {InvalidCertificates}", invalidCertificates);
1124_logger.LogDebug("Finished listing certificates.");
1132_logger.LogDebug("Filtered certificates: {FilteredCertificates}", filteredCertificates);
1136_logger.LogDebug("Excluded certificates: {ExcludedCertificates}", excludedCertificates);
1140_logger.LogDebug("Valid certificates: {Certificates}", certificates);
1144_logger.LogDebug("Selected certificate: {Certificate}", certificate);
1148_logger.LogDebug("No valid certificates found.");
1152_logger.LogDebug("Generating HTTPS development certificate.");
1156_logger.LogDebug("Finished generating HTTPS development certificate.");
1164_logger.LogDebug("Saving certificate '{Certificate}' to store {Location}\\{StoreName}.", certificate, location, name);
1168_logger.LogDebug("Finished saving certificate to the store.");
1176_logger.LogDebug("Saving certificate '{Certificate}' to {Path} {PrivateKey} private key.", certificate, path, includePrivateKey ? "with" : "without");
1180_logger.LogDebug("Exporting certificate with private key but no password.");
1184_logger.LogDebug("Creating directory {Path}.", path);
1192_logger.LogDebug("Writing the certificate to: {Path}.", path);
1200_logger.LogDebug("Trusting the certificate to: {Certificate}.", certificate);
1204_logger.LogDebug("Finished trusting the certificate.");
1212_logger.LogDebug("Running the trust command {Command}.", command);
1216_logger.LogDebug("Finished running the trust command.");
1224_logger.LogDebug("Running the remove trust command for {Certificate}.", certificate);
1228_logger.LogDebug("Finished running the remove trust command.");
1236_logger.LogDebug("The certificate is not trusted: {Certificate}.", certificate);
1240_logger.LogDebug("Removing the certificate from the keychain {KeyChain} {Certificate}.", keyChain, certificate);
1244_logger.LogDebug("Finished removing the certificate from the keychain.");
1252_logger.LogDebug("Removing the certificate from the user store {Certificate}.", certificate);
1256_logger.LogDebug("Finished removing the certificate from the user store.");
1264_logger.LogDebug("Adding certificate to the trusted root certification authority store.");
1268_logger.LogDebug("The certificate is already trusted.");
1272_logger.LogDebug("Trusting the certificate was cancelled by the user.");
1276_logger.LogDebug("Removing the certificate from the trusted root certification authority store.");
1280_logger.LogDebug("Finished removing the certificate from the trusted root certification authority store.");
1284_logger.LogDebug("The certificate was not trusted.");
1288_logger.LogDebug("Correcting the the certificate state for '{Certificate}'.", certificate);
1292_logger.LogDebug("Finished correcting the certificate state.");
1300_logger.LogDebug("Importing the certificate {Certificate} to the keychain '{Keychain}'.", certificate, keychain);
1304_logger.LogDebug("Finished importing the certificate to the keychain.");
1312_logger.LogDebug("Writing the certificate to: {Path}.", path);
1328_logger.LogDebug("Loading certificate from path '{CertificatePath}'.", certificatePath);
1332_logger.LogDebug("The certificate '{Description}' has been loaded successfully.", description);
1344_logger.LogDebug("The certificate is already trusted.");
1348_logger.LogDebug("Saving the certificate {Certificate} to the user profile folder '{Directory}'.", certificate, directory);
1352_logger.LogDebug("Finished saving the certificate to the user profile folder.");
1372_logger.LogDebug("Reading OpenSSL trusted certificates location from {NssDbOverrideVariableName}.", nssDbOverrideVariableName);
1376_logger.LogDebug("Reading NSS database locations from {EnvironmentVariable}.", environmentVariable);
1396_logger.LogDebug("Home directory '{HomeDirectory}' does not exist. Unable to discover NSS databases for user '{Username}'. This will likely affect browsers.", homeDirectory, username);
1400_logger.LogDebug("OpenSSL reported its directory in an unexpected format.");
1404_logger.LogDebug("Unable to determine the OpenSSL directory.");
1408_logger.LogDebug("Unable to determine the OpenSSL directory: {ExceptionMessage}.", exceptionMessage);
1432_logger.LogDebug("Trusted the certificate in .NET.");
1440_logger.LogDebug("Trusted the certificate in OpenSSL.");
1448_logger.LogDebug("Trusted the certificate in the NSS database in '{Path}'.", path);
1460_logger.LogDebug("Untrusted the certificate in OpenSSL.");
1468_logger.LogDebug("Removed the certificate from the NSS database in '{Path}'.", path);
1492_logger.LogDebug("No Firefox profiles found in directory '{FirefoxDirectory}'.", firefoxDirectory);
1512_logger.LogDebug("Untrusting the certificate in OpenSSL was skipped since '{CertPath}' does not exist.", certPath);
1536_logger.LogDebug("The certificate directory '{CertDir}' is already included in the {EnvVarName} environment variable.", certDir, envVarName);
1544_logger.LogDebug("Successfully trusted the certificate in the Windows certificate store via WSL.");
1556_logger.LogDebug("Meets minimum version certificates: {MeetsMinimumVersionCertificates}", meetsMinimumVersionCertificates);
1560_logger.LogDebug("Below minimum version certificates: {BelowMinimumVersionCertificates}", belowMinimumVersionCertificates);
DotNet\DotNetCliExecution.cs (10)
54_logger.LogDebug("Failed to start dotnet process with args: {Args}", string.Join(" ", Arguments));
61_logger.LogDebug("Started dotnet with PID: {ProcessId}", _process.Id);
93_logger.LogDebug("Waiting for dotnet process to exit with PID: {ProcessId}", _process.Id);
102_logger.LogDebug("dotnet process with PID: {ProcessId} has not exited, killing it.", _process.Id);
110_logger.LogDebug("dotnet process with PID: {ProcessId} has exited with code: {ExitCode}", _process.Id, _process.ExitCode);
118_logger.LogDebug("Closing stdout/stderr streams for PID: {ProcessId}", _process.Id);
137_logger.LogDebug("Pending forwarders for PID completed: {ProcessId}", _process.Id);
148_logger.LogDebug(
162_logger.LogDebug(
175_logger.LogDebug("Stream forwarder completed for {Identifier} - stream was closed", identifier);
Layout\LayoutDiscovery.cs (24)
51_logger.LogDebug("Found ASPIRE_LAYOUT_PATH: {Path}", envLayoutPath);
63_logger.LogDebug("Discovered layout relative to CLI: {Path}", relativeLayout.LayoutPath);
67_logger.LogDebug("No bundle layout discovered");
98_logger.LogDebug("SDK mode forced via {EnvVar}", BundleDiscovery.UseGlobalDotNetEnvVar);
114_logger.LogDebug("TryLoadLayoutFromPath: {Path}", layoutPath);
118_logger.LogDebug("Layout path does not exist: {Path}", layoutPath);
122_logger.LogDebug("Layout path exists, checking directory structure...");
128_logger.LogDebug("Layout directory contents: {Contents}", string.Join(", ", entries));
132_logger.LogDebug("Could not list directory contents: {Error}", ex.Message);
145_logger.LogDebug("TryDiscoverRelativeLayout: ProcessPath is null or empty");
152_logger.LogDebug("TryDiscoverRelativeLayout: Could not get directory from ProcessPath");
156_logger.LogDebug("TryDiscoverRelativeLayout: CLI at {Path}, checking for layout...", cliDir);
172_logger.LogDebug("TryDiscoverRelativeLayout: Checking parent directory {Path}...", parentDir);
189_logger.LogDebug("TryInferLayout: Checking layout at {Path}", layoutPath);
190_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.ManagedDirectoryName, Directory.Exists(managedPath) ? "exists" : "MISSING");
191_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DcpDirectoryName, Directory.Exists(dcpPath) ? "exists" : "MISSING");
195_logger.LogDebug("TryInferLayout: Layout rejected - missing required directories");
202_logger.LogDebug(" managed/{ManagedExe}: {Exists}", managedExeName, File.Exists(managedExePath) ? "exists" : "MISSING");
206_logger.LogDebug("TryInferLayout: Layout rejected - aspire-managed not found");
210_logger.LogDebug("TryInferLayout: Layout is valid");
227_logger.LogDebug("DCP path override from {EnvVar}", BundleDiscovery.DcpPathEnvVar);
231_logger.LogDebug("Managed path override from {EnvVar}", BundleDiscovery.ManagedPathEnvVar);
243_logger.LogDebug("Layout validation failed: aspire-managed not found at {Path}", managedPath);
251_logger.LogDebug("Layout validation failed: DCP not found");
Mcp\Docs\DocsCache.cs (15)
41_logger.LogDebug("DocsCache memory hit for key: {Key}", key);
51_logger.LogDebug("DocsCache disk hit for key: {Key}", key);
55_logger.LogDebug("DocsCache miss for key: {Key}", key);
71_logger.LogDebug("DocsCache set for key: {Key}", key);
83_logger.LogDebug("DocsCache ETag memory hit for url: {Url}", url);
93_logger.LogDebug("DocsCache ETag disk hit for url: {Url}", url);
97_logger.LogDebug("DocsCache ETag miss for url: {Url}", url);
111_logger.LogDebug("DocsCache cleared ETag for url: {Url}", url);
117_logger.LogDebug("DocsCache set ETag for url: {Url}, ETag: {ETag}", url, etag);
128_logger.LogDebug("DocsCache index memory hit");
138_logger.LogDebug("DocsCache index disk hit, loaded {Count} documents", diskDocuments.Length);
142_logger.LogDebug("DocsCache index miss");
156_logger.LogDebug("DocsCache set index with {Count} documents", documents.Length);
180_logger.LogDebug("DocsCache invalidated key: {Key}", key);
337_logger.LogDebug("Deleting stale index (ETag missing)");
Npm\NpmRunner.cs (8)
45logger.LogDebug("Could not parse npm version from output: {Output}", versionString);
58logger.LogDebug("Could not resolve integrity hash for {Package}@{Version}", packageName, version);
98logger.LogDebug("npm pack returned empty filename");
105logger.LogDebug("npm pack output file not found: {Path}", tarballPath);
145logger.LogDebug("Failed to install {Package}@{Version} into temporary project for audit", packageName, version);
198logger.LogDebug("npm is not installed or not found in PATH");
229logger.LogDebug("Running npm {Args} in {WorkingDirectory}", argsString, workingDirectory);
258logger.LogDebug("npm {Args} returned non-zero exit code {ExitCode}: {Error}", argsString, process.ExitCode, errorOutput.Trim());
NuGet\BundleNuGetService.cs (9)
85_logger.LogDebug("Using cached restore at {Path}", libsDir);
129_logger.LogDebug("Restoring {Count} packages", packageList.Count);
130_logger.LogDebug("aspire-managed path: {ManagedPath}", managedPath);
131_logger.LogDebug("NuGet restore args: {Args}", string.Join(" ", restoreArgs));
141_logger.LogDebug("NuGetHelper restore stderr: {Error}", error);
169_logger.LogDebug("Creating layout from {AssetsPath}", assetsPath);
170_logger.LogDebug("NuGet layout args: {Args}", string.Join(" ", layoutArgs));
180_logger.LogDebug("NuGetHelper layout stderr: {Error}", error);
191_logger.LogDebug("Packages restored to {Path}", libsDir);
Projects\GuestAppHostProject.cs (15)
109_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
113_logger.LogDebug("Using default SDK version: {Version}", DotNetBasedAppHostServerProject.DefaultSdkVersion);
318_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
326_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
333_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
343_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
632_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
638_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath);
694_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
743_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
753_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
949_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
959_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1202_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
1284_logger.LogDebug("Created GuestRuntime for {Language}: Execute={Command} {Args}",
Projects\ProjectLocator.cs (18)
58logger.LogDebug("Searching for project files in {SearchDirectory}", searchDirectory.FullName);
77logger.LogDebug("Searching for patterns: {Patterns}", string.Join(", ", allPatterns));
85logger.LogDebug("Found {CandidateCount} files matching pattern '{Pattern}'", candidateFiles.Length, pattern);
89logger.LogDebug("Checking candidate file {CandidateFile}", candidateFile.FullName);
124logger.LogDebug("Found {Language} apphost {CandidateFile}", handler.DisplayName, candidateFile.FullName);
136logger.LogDebug("Skipping unsupported project {CandidateFile}", candidateFile.FullName);
256logger.LogDebug("Finding project file in {CurrentDirectory}", executionContext.WorkingDirectory);
263logger.LogDebug("Provided path {Path} is a directory, searching for project files recursively", projectFile.FullName);
284logger.LogDebug("Found single AppHost project file {ProjectFile} in directory {Directory}", appHostProjects[0].FullName, directory.FullName);
291logger.LogDebug("Multiple AppHost project files found in directory {Directory}, prompting user to select", directory.FullName);
301logger.LogDebug("Multiple AppHost project files found in directory {Directory}, selecting none", directory.FullName);
329logger.LogDebug("Using {Language} apphost {ProjectFile}", handler.DisplayName, projectFile.FullName);
358logger.LogDebug("No project file specified, searching for apphost projects in {CurrentDirectory}", executionContext.WorkingDirectory);
361logger.LogDebug("Found {ProjectFileCount} project files.", results.BuildableAppHost.Count);
412logger.LogDebug("Creating settings file at {SettingsFilePath}", settingsFile.FullName);
431logger.LogDebug("Set SDK version {Version} in settings file (inherited from parent config)", inheritedSdkVersion);
446logger.LogDebug("Using existing config file at {Path}", settingsFile.FullName);
454logger.LogDebug("No existing config found, will create new config at {Path}", newConfigPath);
Templating\CliTemplateFactory.cs (4)
169_logger.LogDebug("Copying embedded template tree '{TemplateRoot}' to '{OutputPath}'.", templateRoot, outputPath);
180_logger.LogDebug("No embedded resources found for template root '{TemplateRoot}'. Available manifest resources: {ManifestResources}", templateRoot, string.Join(", ", allResourceNames));
184_logger.LogDebug("Found {ResourceCount} embedded resources for template root '{TemplateRoot}': {TemplateResources}", resourceNames.Length, templateRoot, string.Join(", ", resourceNames));
199_logger.LogDebug("Writing embedded template resource '{ResourceName}' to '{FilePath}'.", resourceName, filePath);
Templating\CliTemplateFactory.EmptyTemplate.cs (5)
46_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);
76_logger.LogDebug("Using scaffolding service for language '{LanguageDisplayName}' in '{OutputPath}'.", language.DisplayName, outputPath);
148_logger.LogDebug("Skipping localhost TLD update because aspire.config.json was not found in '{OutputPath}'.", outputPath);
170_logger.LogDebug("Writing C# empty AppHost template files to '{OutputPath}' with Aspire version '{AspireVersion}'.", outputPath, aspireVersion);
Aspire.Cli.Tests (3)
Aspire.Dashboard (66)
Components\Pages\ConsoleLogs.razor.cs (27)
56s._logger.LogDebug("Canceling subscription {SubscriptionId} to {ResourceName}.", s.SubscriptionId, s.Resource.Name);
64_logger.LogDebug("Canceling subscription for resource {ResourceName}.", Resource.Name);
222Logger.LogDebug("Loading task completed.");
226Logger.LogDebug("Load task canceled.");
243Logger.LogDebug("Received initial resource snapshot with {ResourceCount} resources.", snapshot.Length);
263Logger.LogDebug("All resources selected.");
302Logger.LogDebug("Selected console resource from name {ResourceName}.", ResourceName);
352Logger.LogDebug("Setting status to '{StatusName}'.", statusName);
358Logger.LogDebug("Initializing console logs view model.");
375Logger.LogDebug("Switching to or from 'All' mode");
380Logger.LogDebug("Switching to different single resource: {ResourceName}", selectedResourceName);
394Logger.LogDebug("Subscription change needed. IsAllSelected: {IsAllSelected}, SelectedResource: {SelectedResource}", isAllSelected, selectedResourceName);
401Logger.LogDebug("Creating new log entries collection.");
423Logger.LogDebug("Unexpected state. Unknown resource '{ResourceName}' selected.", selectedResourceName);
598Logger.LogDebug("Subscribing to {ResourceCount} resources for 'All' view.", availableResources.Count);
602Logger.LogDebug("No resources available to subscribe to for 'All' view - will show empty logs.");
617Logger.LogDebug("Successfully created {SubscriptionCount} subscriptions for 'All' view.", _consoleLogsSubscriptions.Count);
626Logger.LogDebug("Already subscribed to resource {ResourceName}.", resourceName);
631Logger.LogDebug("Creating new subscription {SubscriptionId} for resource {ResourceName}.", subscription.SubscriptionId, resourceName);
637Logger.LogDebug("Started log subscription task for resource {ResourceName}.", resourceName);
744Logger.LogDebug("Starting log subscription {SubscriptionId}.", subscription.SubscriptionId);
749Logger.LogDebug("Subscribing to console logs with subscription {SubscriptionId} to resource {ResourceName}.", subscription.SubscriptionId, subscription.Resource.Name);
772Logger.LogDebug("Adding {PauseIntervalsCount} pause intervals on initial logs load.", pauseIntervals.Length);
830Logger.LogDebug("Subscription {SubscriptionId} finished watching logs for resource {ResourceName}. Cancel duration: {Duration}", subscription.SubscriptionId, subscription.Resource.Name, subscription.GetCancelElapsedTime());
922Logger.LogDebug("Console logs paused new value: {IsPausedNewValue}", isPaused);
935Logger.LogDebug("Inserting new pause log entry for {Resource} starting at {StartTimestamp}.", subscription.Resource.Name, timestamp);
949Logger.LogDebug("Updating pause log entry for {Resource} starting at {StartTimestamp} with end of {EndTimestamp}.", subscription.Resource.Name, pause.StartTime, timestamp);
Model\TelemetryImportService.cs (8)
85_logger.LogDebug("Ignoring text file {FileName} - console log import not supported", fileName);
88_logger.LogDebug("Unsupported file type: {Extension}", extension);
138_logger.LogDebug("Imported logs from {FileName}", fileName);
145_logger.LogDebug("Imported traces from {FileName}", fileName);
152_logger.LogDebug("Imported metrics from {FileName}", fileName);
170_logger.LogDebug("Imported logs: {SuccessCount} succeeded, {FailureCount} failed", addContext.SuccessCount, addContext.FailureCount);
181_logger.LogDebug("Imported traces: {SuccessCount} succeeded, {FailureCount} failed", addContext.SuccessCount, addContext.FailureCount);
192_logger.LogDebug("Imported metrics: {SuccessCount} succeeded, {FailureCount} failed", addContext.SuccessCount, addContext.FailureCount);
Aspire.Hosting (145)
ApplicationModel\ProjectResource.cs (11)
149logger.LogDebug("Tagging image {OriginalImageName} as {TempImageName}", originalImageName, tempImageName);
182logger.LogDebug("Generated temporary Dockerfile at {DockerfilePath}", tempDockerfilePath);
206logger.LogDebug("Successfully built final image {ImageName} with container files", originalImageName);
219logger.LogDebug("Deleted temporary Dockerfile {DockerfilePath}", tempDockerfilePath);
230logger.LogDebug("Failed build - temporary Dockerfile left at {DockerfilePath} for debugging", tempDockerfilePath);
234logger.LogDebug("Removing temporary image {TempImageName}", tempImageName);
254OnErrorData = error => logger.LogDebug("dotnet msbuild (stderr): {Error}", error),
258logger.LogDebug("Getting ContainerWorkingDirectory for project {ProjectPath}", projectPath);
267logger.LogDebug("Failed to get ContainerWorkingDirectory from dotnet msbuild for project {ProjectPath}. Exit code: {ExitCode}. Using default /app",
277logger.LogDebug("dotnet msbuild returned empty ContainerWorkingDirectory for project {ProjectPath}. Using default /app", projectPath);
281logger.LogDebug("Resolved ContainerWorkingDirectory for project {ProjectPath}: {WorkingDir}", projectPath, workingDir);
ApplicationModel\ResourceNotificationService.cs (9)
125_logger.LogDebug("Waiting for resource '{ResourceName}' to enter one of the target state: {TargetStates}", resourceName, string.Join(", ", targetStates));
135_logger.LogDebug("Finished waiting for resource '{ResourceName}'. Resource state is '{State}'.", resourceName, finalState);
224_logger.LogDebug("Waiting for resource '{ResourceName}' to enter the '{State}' state.", resourceName, HealthStatus.Healthy);
238_logger.LogDebug("Waiting for resource ready to execute for '{ResourceName}'.", resourceName);
248_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName);
478_logger.LogDebug("Waiting for resource '{ResourceName}' to match predicate.", resourceName);
484_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName);
677_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {PreviousState} -> {NewState}", resource.Name, resourceId, previousStateText, newStateText);
682_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {NewState}", resource.Name, resourceId, newStateText);
Dcp\DcpExecutor.cs (21)
278_logger.LogDebug("Cancellation received during application startup.");
452_logger.LogDebug("Watching over DCP {ResourceType} resources.", typeof(T).Name);
473_logger.LogDebug("Cancellation received while watching {ResourceType} resources.", typeof(T).Name);
481_logger.LogDebug("Stopped watching {ResourceType} resources.", typeof(T).Name);
719_logger.LogDebug("Starting log streaming for {ResourceName}.", resource.Metadata.Name);
736_logger.LogDebug("Log streaming for {ResourceName} was cancelled.", resource.Metadata.Name);
741_logger.LogDebug("Log streaming for {ResourceName} ended because the resource was deleted.", resource.Metadata.Name);
1182_logger.LogDebug("Preparing services. Ports randomized: {RandomizePorts}", _options.Value.RandomizePorts);
1211_logger.LogDebug("Randomizing port for {ServiceName}. Original port: {OriginalPort}", serviceName, endpoint.Port);
2563_logger.LogDebug("Stopping resource '{ResourceName}'...", resourceReference.DcpResourceName);
2581_logger.LogDebug("Container '{ResourceName}' was stopped.", resourceReference.DcpResourceName);
2586_logger.LogDebug("Container '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName);
2596_logger.LogDebug("Executable '{ResourceName}' was stopped.", resourceReference.DcpResourceName);
2601_logger.LogDebug("Executable '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName);
2644_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", resourceType, appResource.DcpResourceName);
2690_logger.LogDebug("Ensuring '{ResourceName}' is deleted.", resourceName);
2704_logger.LogDebug("Delete request for '{ResourceName}' successfully completed. Resource to delete has UID '{Uid}'.", resourceName, uid);
2708_logger.LogDebug("Delete request for '{ResourceName}' returned NotFound.", resourceName);
2721_logger.LogDebug("Polling DCP to check if '{ResourceName}' is deleted...", resourceName);
2723_logger.LogDebug("Get request for '{ResourceName}' returned resource with UID '{Uid}'.", resourceName, uid);
2729_logger.LogDebug("Get request for '{ResourceName}' returned NotFound.", resourceName);
Exec\ExecResourceManager.cs (4)
174_logger.LogDebug("Resource '{ResourceName}' has been successfully built and added to the model resources.", execResource.Name);
223_logger.LogDebug("Exec resource '{ResourceName}' will wait until project '{Project}' starts up.", execResourceName, project.Name);
227_logger.LogDebug("Exec resource '{ResourceName}' will run command '{Command}' with {ArgsCount} args '{Args}'.", execResourceName, exe, args?.Length ?? 0, string.Join(' ', args ?? []));
258_logger.LogDebug("Exec container resource '{ResourceName}' will run command '{Command}' with {ArgsCount} args '{Args}'.", execResourceName, exe, args?.Length ?? 0, string.Join(' ', args ?? []));
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 (9)
102_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output);
106_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error);
112_logger.LogDebug("Running {RuntimeName} with arguments: {Arguments}", RuntimeExecutable, arguments);
113_logger.LogDebug("Password length being passed to stdin: {PasswordLength}", password?.Length ?? 0);
151_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments);
200_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments);
216_logger.LogDebug(successLogTemplate, logArguments);
287_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output);
291_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error);
Aspire.Hosting.Azure (19)
Provisioning\Provisioners\BicepProvisioner.cs (5)
47logger.LogDebug("Checksum mismatch for resource {ResourceName}. Expected: {ExpectedChecksum}, Actual: {ActualChecksum}", resource.Name, currentCheckSum, configCheckSum);
51logger.LogDebug("Configuring resource {ResourceName} from existing deployment state.", resource.Name);
161logger.LogDebug("Setting parameters and scope for resource {ResourceName}", resource.Name);
181logger.LogDebug("Starting deployment of resource {ResourceName} to resource group {ResourceGroupName}", resource.Name, resourceGroup.Name);
216logger.LogDebug("Deployment of resource {ResourceName} to resource group {ResourceGroupName} completed in {Elapsed}", resource.Name, resourceGroup.Name, sw.Elapsed);
Aspire.Hosting.Azure.Kusto (2)
Aspire.Hosting.DevTunnels (10)
Aspire.Hosting.Docker (6)
Aspire.Hosting.JavaScript (5)
Aspire.Hosting.Maui (2)
Aspire.Hosting.MySql (2)
Aspire.Hosting.PostgreSQL (3)
Aspire.Hosting.RemoteHost (39)
Language\LanguageService.cs (7)
37_logger.LogDebug(">> scaffoldAppHost({Language}, {TargetPath}, {ProjectName})", language, targetPath, projectName);
56_logger.LogDebug("<< scaffoldAppHost({Language}) completed in {ElapsedMs}ms, generated {FileCount} files", language, sw.ElapsedMilliseconds, files.Count);
74_logger.LogDebug(">> detectAppHostType({DirectoryPath})", directoryPath);
84_logger.LogDebug("<< detectAppHostType({DirectoryPath}) found {Language} in {ElapsedMs}ms", directoryPath, result.Language, sw.ElapsedMilliseconds);
89_logger.LogDebug("<< detectAppHostType({DirectoryPath}) not found in {ElapsedMs}ms", directoryPath, sw.ElapsedMilliseconds);
107_logger.LogDebug(">> getRuntimeSpec({Language})", language);
120_logger.LogDebug("<< getRuntimeSpec({Language}) completed in {ElapsedMs}ms", language, sw.ElapsedMilliseconds);
Aspire.Hosting.SqlServer (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (2)
dotnet (38)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (17)
77_logger?.LogDebug("Output directory is: {0}.", _outputDirectory);
78_logger?.LogDebug("Project full path is: {0}.", _projectFullPath ?? "<null>");
87_logger?.LogDebug("Found project files: {0}.", string.Join("; ", foundFiles));
93_logger?.LogDebug("Exception occurred when searching for the project file: {0}", e.Message);
98_logger?.LogDebug("No project found.");
103_logger?.LogDebug("Multiple projects found.");
120_logger?.LogDebug("Evaluating project: {0}", projectPath);
125_logger?.LogDebug("SDK-style project: {0}", IsSdkStyleProject);
128_logger?.LogDebug("Target frameworks: {0}", string.Join("; ", targetFrameworks ?? []));
130_logger?.LogDebug("Target framework: {0}", targetFramework ?? "<null>");
136_logger?.LogDebug("Project is non-SDK style, cannot evaluate restore status, succeeding.");
143_logger?.LogDebug("Project is not restored, exiting.");
150_logger?.LogDebug("Project is SDK style, single TFM:{0}, evaluation succeeded.", targetFramework);
158_logger?.LogDebug("Project is SDK style, but does not specify the framework.");
166_logger?.LogDebug("Evaluating project for target framework: {0}", tfm);
169_logger?.LogDebug("Project is SDK style, multi-target, evaluation succeeded.");
175_logger?.LogDebug("Unexpected error: {0}", e);
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (15)
27environmentSettings.Host.Logger.LogDebug("{0}: '{1}' component is not available.", nameof(ProjectCapabilityConstraintFactory), nameof(MSBuildEvaluator));
38environmentSettings.Host.Logger.LogDebug("{0}: Failed to evaluate the project: {1}.", nameof(ProjectCapabilityConstraintFactory), e.Message);
72_logger.LogDebug("Configuration: '{0}'", args);
80_logger.LogDebug("Failed to parse configuration: '{0}', reason: {1}", args, e.Message);
91_logger.LogDebug("Invalid configuration: '{0}', reason: arguments should not contain empty values.", args);
98_logger.LogDebug("Invalid configuration: '{0}', reason: argument should be a string.", args);
104_logger.LogDebug("No project found. This template can only be created inside the project.");
113_logger.LogDebug("Multiple projects found: {0}, specify the project to use.", foundProjects);
121_logger.LogDebug("The project is not restored. Run 'dotnet restore {0}' to restore the project.", _evaluationResult.ProjectPath);
129_logger.LogDebug("Failed to evaluate project context: {0}", _evaluationResult.ErrorMessage);
134_logger.LogDebug("The project {0} is not an SDK style project, and is not supported for evaluation.", _evaluationResult.ProjectPath);
140_logger.LogDebug("Evaluating '{0}' on '{1}' set.", configuredCapabiltiesExpression, string.Join(", ", _projectCapabilities));
143_logger.LogDebug("Expression evaluated to 'false'.");
148_logger.LogDebug("Expression evaluated to 'true'.");
153_logger.LogDebug("Invalid expression '{0}'.", configuredCapabiltiesExpression);
Commands\New\MSBuildEvaluation\ProjectContextSymbolSource.cs (6)
34settings.Host.Logger.LogDebug("{0}: {1} component is not available, exiting.", nameof(ProjectContextSymbolSource), nameof(MSBuildEvaluator));
41settings.Host.Logger.LogDebug("{0}: evaluation did not succeed, status: {1}, exiting.", nameof(ProjectContextSymbolSource), evaluationResult.Status);
46settings.Host.Logger.LogDebug("The project {0} is not an SDK style project, and is not supported for evaluation.", evaluationResult.ProjectPath);
59settings.Host.Logger.LogDebug("{0}: value for {1}: {2}.", nameof(ProjectContextSymbolSource), bindname, propertyValue);
64settings.Host.Logger.LogDebug("{0}: value for {1}: {2}.", nameof(ProjectContextSymbolSource), bindname, propertyValue ?? "<null>");
69settings.Host.Logger.LogDebug("{0}: unexpected error during evaluation: {1}.", nameof(ProjectContextSymbolSource), e.Message);
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.Server.Kestrel.Transport.DirectTls (11)
TlsEventPump.cs (10)
218_logger.LogDebug("Pump {Id}: Added listen socket fd={Fd} with EPOLLEXCLUSIVE", _id, listenFd);
349_logger.LogDebug("epoll_ctl DEL listenFd={Fd} failed: errno={Errno}", listenFd, Marshal.GetLastWin32Error());
373_logger.LogDebug("Pump {Id}: epoll_wait interrupted by a signal (EINTR); retrying.", _id);
569_logger.LogDebug("Accept failed: errno={Errno}", errno);
627_logger.LogDebug("Rejecting connection: in-flight connection cap reached");
773_logger.LogDebug("Client certificate rejected for fd={Fd} (presented={Presented}).", fd, presentedCertificate is not null);
913_logger.LogDebug("Handshake returned NeedsTlsContext but no certificate resolver is configured for fd={Fd}", fd);
979_logger.LogDebug("Handshake failed for fd={Fd}: status={Status}", fd, status);
1129_logger.LogDebug("Handshake timed out for fd={Fd} after {TimeoutMs}ms; dropping connection.", fd, _handshakeTimeoutMs);
1262_logger.LogDebug("close(epollFd={EpollFd}) failed: errno={Errno}", _epollFd, Marshal.GetLastWin32Error());
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.StaticAssets (3)
Microsoft.AspNetCore.StaticFiles (3)
Microsoft.AspNetCore.Watch.BrowserRefresh (8)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.CodeAnalysis.ExternalAccess.HotReload (2)
Microsoft.Diagnostics.NETCore.Client (34)
Microsoft.DotNet.HotReload.Watch (48)
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 (1)