1 write to _logger
aspire (1)
Projects\GuestAppHostProject.cs (1)
79
_logger
= logger;
39 references to _logger
aspire (39)
Projects\GuestAppHostProject.cs (39)
82
_runningInstanceManager = new RunningInstanceManager(
_logger
, _interactionService, _timeProvider);
109
_logger
.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
113
_logger
.LogDebug("Using default SDK version: {Version}", DotNetBasedAppHostServerProject.DefaultSdkVersion);
202
_logger
.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName));
207
_logger
.LogError(ex, "Failed to load configuration from {Directory}", configDir.FullName);
292
_logger
.LogDebug(ex, "Error killing AppHost server process after code generation");
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);
465
_logger
.LogDebug(ex, "Error killing AppHost server process after dependency install failure");
529
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
550
_logger
.LogDebug(ex, "Error killing AppHost server process after {Language} failure", DisplayName);
567
_logger
.LogDebug(ex, "Error killing AppHost server process");
586
_logger
.LogError(ex, "Failed to run {Language} AppHost", DisplayName);
621
_logger
.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.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);
699
_logger
.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
743
_logger
.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
753
_logger
.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
829
_logger
.LogDebug(ex, "Error killing AppHost server process after dependency install failure");
861
_logger
.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode);
882
_logger
.LogDebug(ex, "Error killing AppHost server process after {Language} failure", DisplayName);
898
_logger
.LogDebug(ex, "Error killing AppHost server process");
916
_logger
.LogError(ex, "Failed to publish {Language} AppHost", DisplayName);
949
_logger
.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
955
_logger
.LogTrace("Attempting to connect to AppHost server backchannel at {SocketPath} (attempt {Attempt})", socketPath, ++connectionAttempts);
959
_logger
.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
964
_logger
.LogError("AppHost server process has exited. Unable to connect to backchannel at {SocketPath}", socketPath);
976
_logger
.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", ConnectionTimeoutSeconds);
994
_logger
.LogError(ex, "Failed to connect to AppHost server backchannel");
1057
_logger
.LogWarning(ex, "Failed to check for SDK version updates");
1080
_logger
.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
1202
_logger
.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
1225
_logger
.LogInformation("Generated {Count} {CodeGenerator} files in {Path}",
1282
_guestRuntime = new GuestRuntime(runtimeSpec,
_logger
, _fileLoggerProvider);
1284
_logger
.LogDebug("Created GuestRuntime for {Language}: Execute={Command} {Args}",