Database: Add logging
This commit is contained in:
parent
e680d39b48
commit
f1abc1ca58
@ -148,6 +148,8 @@ Public Class MSSQLServer
|
|||||||
Public Function Get_ConnectionStringforID(pConnectionId As Integer) As String
|
Public Function Get_ConnectionStringforID(pConnectionId As Integer) As String
|
||||||
Dim oConnectionString As String = String.Empty
|
Dim oConnectionString As String = String.Empty
|
||||||
|
|
||||||
|
_Logger.Debug("Getting ConnectionString for ConnectionId [{0}]", pConnectionId)
|
||||||
|
|
||||||
If pConnectionId = 0 Then
|
If pConnectionId = 0 Then
|
||||||
_Logger.Warn("ConnectionId was 0. Falling back to default connection.")
|
_Logger.Warn("ConnectionId was 0. Falling back to default connection.")
|
||||||
Return String.Empty
|
Return String.Empty
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user