1
0
mirror of https://bitbucket.org/anguist/ntpa synced 2025-10-05 10:30:56 +00:00

Adjust database logging

This commit is contained in:
Carsten Larsen
2016-09-03 18:53:48 +02:00
parent f3a418938f
commit 6d093c021c

View File

@ -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)