1 write to _logger
Aspire.Hosting.RemoteHost (1)
28 references to _logger
Aspire.Hosting.RemoteHost (28)
JsonRpcServer.cs (28)
65_logger.LogInformation("Starting RemoteAppHost JsonRpc Server on {SocketPath}...", _socketPath);
88_logger.LogInformation("Goodbye!");
94_logger.LogInformation("Starting JsonRpc server on named pipe: {SocketPath}", _socketPath);
110_logger.LogDebug("Waiting for client connection...");
126_logger.LogDebug("Client connected");
135_logger.LogInformation("Server shutdown requested");
140_logger.LogError(ex, "Error in server loop, retrying in 1 second...");
145_logger.LogInformation("Server stopped");
150_logger.LogInformation("Starting JsonRpc server on Unix domain socket: {SocketPath}", _socketPath);
170_logger.LogDebug("Waiting for client connection...");
174_logger.LogDebug("Client connected");
184_logger.LogInformation("Server shutdown requested");
189_logger.LogError(ex, "Error in server loop, retrying in 1 second...");
194_logger.LogInformation("Server stopped");
207_logger.LogDebug("Creating DI scope for client {ClientId}", clientId);
230jsonRpc.TraceSource.Switch.Level = _logger.IsEnabled(LogLevel.Trace)
233jsonRpc.TraceSource.Listeners.Add(new JsonRpcTraceListener(_logger, clientId));
248_logger.LogDebug("JsonRpc connection established for client {ClientId} (bidirectional)", clientId);
262_logger.LogDebug("Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
267_logger.LogDebug(ex, "Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
273_logger.LogDebug("Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
278_logger.LogDebug(ex, "Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
285_logger.LogWarning(ex, "Client {ClientId} I/O error", clientId);
291_logger.LogError(ex, "Client {ClientId} unexpected error", clientId);
308_logger.LogDebug("Connection cleanup completed for client {ClientId}", clientId);
313_logger.LogDebug("Active clients remaining: {RemainingClients}", remaining);
334_logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", _socketPath);
338_logger.LogDebug("JsonRpcServer disposed");