- 2026-04-10 1.1.14 Se corrige tsNotificacionesClient
This commit is contained in:
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user