- 2026-04-10 1.1.14 Se corrige tsNotificacionesClient

This commit is contained in:
2026-04-28 20:19:54 +02:00
parent 9b79b1f87b
commit e2d1c62915
2 changed files with 4 additions and 4 deletions

View File

@@ -57,8 +57,7 @@ Public Class TsNotificacionesClient
Dim apiUrl = If(config("TsNotificaciones:ApiUrl"), "http://localhost:7159")
Dim idAplicacion = Integer.Parse(If(config("TsNotificaciones:IdAplicacion"), "1"))
Dim Origen = If(config("TsNotificaciones:Origen"), "Tecnosis")
Dim Aplicacion = If(config("TsNotificaciones:Aplicacion"), idAplicacion.ToString)
Dim Aplicacion = If(config("TsNotificaciones:Aplicacion"), "Tecnosis idAplicacion: " & idAplicacion.ToString)
Dim apiKey = If(config("TsNotificaciones:ApiKey"), String.Empty)
Dim nombreServidor = If(config("TsNotificaciones:NombreServidor"), Environment.MachineName)
@@ -83,7 +82,7 @@ Public Class TsNotificacionesClient
ele = EventLogEntryType.Error
End Select
EventLog.WriteEntry(".NET Runtime", $"{Origen} {Aplicacion} {titulo} {descripcion}", ele, 1000)
EventLog.WriteEntry(".NET Runtime", $"{Aplicacion} {titulo} {descripcion}", ele, 1000)
Else
' --- LINUX: ILogger → journald ---