mirror of
https://bitbucket.org/anguist/ntpa
synced 2025-10-05 10:30:56 +00:00
Adjust database logging
This commit is contained in:
@ -40,16 +40,16 @@ namespace Ntp.Data.Log
|
||||
Severity.Info);
|
||||
|
||||
log.WriteLine(
|
||||
$"Database name set to {connection.Database}.",
|
||||
$"Database connection timeout is {connection.ConnectionTimeout} seconds.",
|
||||
Severity.Debug);
|
||||
|
||||
log.WriteLine(
|
||||
$"Database connection timeout set to {connection.ConnectionTimeout} seconds.",
|
||||
Severity.Debug);
|
||||
"DATABASE CONNECTION STRING COULD CONTAIN SENSITIVE INFORMATION.",
|
||||
Severity.Trace);
|
||||
|
||||
log.WriteLine(
|
||||
$"Database connection string is: {connection.ConnectionString}.",
|
||||
Severity.Debug);
|
||||
$"DATABASE CONNECTION STRING IS [{connection.ConnectionString}]",
|
||||
Severity.Trace);
|
||||
}
|
||||
|
||||
internal static void DbLinkDown(this LogBase log)
|
||||
|
Reference in New Issue
Block a user