Professional Documents
Culture Documents
log_logger,
log_message, log_machine_name, log_user_name, log_call_site, log_thread,
log_Exception, log_stacktrace) VALUES (@level, @logger, @message, @machinename,
@user_name, @call_site, @threadid,@log_exception, @log_stacktrace)
'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@level'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${leve
l}'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@logger'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${logg
er}'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@message
'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${mess
age}'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@machine
name'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${mach
inename}'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@user_na
me'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${wind
ows-identity:domain=true}'
2014-08-06 17:20:58.1955 Debug Setting 'WindowsIdentityLayoutRenderer.domain' to
'true'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@call_si
te'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${call
site:filename=true}'
2014-08-06 17:20:58.1955 Debug Setting 'CallSiteLayoutRenderer.filename' to 'tru
e'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@threadi
d'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${thre
adid}'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@log_exc
eption'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${exce
ption}'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.name' to '@log_sta
cktrace'
2014-08-06 17:20:58.1955 Debug Setting 'DatabaseParameterInfo.layout' to '${stac
ktrace}'
2014-08-06 17:20:58.1955 Debug Wrapping target 'SQLServerLog' with AsyncTargetWr
apper and renaming to 'SQLServerLog_wrapped
2014-08-06 17:20:58.1955 Info Adding target AsyncWrapper Target[SQLServerLog](Da
tabase Target[SQLServerLog_wrapped])
2014-08-06 17:20:58.1955 Debug Registering target SQLServerLog: NLog.Targets.Wra
ppers.AsyncTargetWrapper
2014-08-06 17:20:58.1955 Info Configured from an XML element in D:\Indra\LSMK2\L
SMK\LSMK\NLog.config...
2014-08-06 17:20:58.1955 Debug --- NLog configuration dump. --2014-08-06 17:20:58.1955 Debug Targets:
2014-08-06 17:20:58.1955 Info AsyncWrapper Target[default](File Target[default_w
rapped])
2014-08-06 17:20:58.1955 Info AsyncWrapper Target[eventlog](EventLog Target[even
tlog_wrapped])
2014-08-06 17:20:58.1955 Info AsyncWrapper Target[SQLServerLog](Database Target[
SQLServerLog_wrapped])
2014-08-06 17:20:58.1955 Debug Rules:
r:ApplicationData}\SahassaLSMK\Debug.log'
2014-08-06 18:18:21.7984 Debug Setting 'SpecialFolderLayoutRenderer.Folder' to '
ApplicationData'
2014-08-06 18:18:21.7984 Debug Setting 'FileTarget.keepFileOpen' to 'false'
2014-08-06 18:18:21.8074 Debug Setting 'FileTarget.archiveFileName' to '${specia
lfolder:ApplicationData}\SahassaLSMK\Debug_${shortdate}.{##}.log'
2014-08-06 18:18:21.8074 Debug Setting 'SpecialFolderLayoutRenderer.Folder' to '
ApplicationData'
2014-08-06 18:18:21.8074 Debug Setting 'FileTarget.archiveNumbering' to 'Sequenc
e'
2014-08-06 18:18:21.8074 Debug Setting 'FileTarget.archiveEvery' to 'Day'
2014-08-06 18:18:21.8074 Debug Setting 'FileTarget.maxArchiveFiles' to '30'
2014-08-06 18:18:21.8074 Debug Wrapping target 'default' with AsyncTargetWrapper
and renaming to 'default_wrapped
2014-08-06 18:18:21.8074 Info Adding target AsyncWrapper Target[default](File Ta
rget[default_wrapped])
2014-08-06 18:18:21.8074 Debug Registering target default: NLog.Targets.Wrappers
.AsyncTargetWrapper
2014-08-06 18:18:21.8074 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-08-06 18:18:21.8074 Debug Setting 'EventLogTarget.name' to 'eventlog'
2014-08-06 18:18:21.8074 Debug Setting 'EventLogTarget.source' to 'SahassaLSMK'
2014-08-06 18:18:21.8074 Debug Setting 'EventLogTarget.layout' to '${message}${n
ewline}${exception:format=ToString}'
2014-08-06 18:18:21.8074 Debug Setting 'ExceptionLayoutRenderer.format' to 'ToSt
ring'
2014-08-06 18:18:21.8074 Debug Wrapping target 'eventlog' with AsyncTargetWrappe
r and renaming to 'eventlog_wrapped
2014-08-06 18:18:21.8074 Info Adding target AsyncWrapper Target[eventlog](EventL
og Target[eventlog_wrapped])
2014-08-06 18:18:21.8074 Debug Registering target eventlog: NLog.Targets.Wrapper
s.AsyncTargetWrapper
2014-08-06 18:18:21.8074 Debug Setting 'DatabaseTarget.name' to 'SQLServerLog'
2014-08-06 18:18:21.8074 Debug Setting 'DatabaseTarget.connectionString' to 'Dat
a Source=192.168.0.6\sql2008;Initial Catalog=LSMKResona;User Id=sa;Password=keym
aker;'
2014-08-06 18:18:21.8234 Debug Setting 'DatabaseTarget.commandType' to 'Text'
2014-08-06 18:18:21.8234 Debug Setting 'DatabaseTarget.useTransactions' to 'true
'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseTarget.commandText' to '
INSERT INTO SystemLogs (
log_level,
log_logger,
log_message, log_machine_name, log_user_name, log_call_site, log_thread,
log_Exception, log_stacktrace) VALUES (@level, @logger, @message, @machinename,
@user_name, @call_site, @threadid,@log_exception, @log_stacktrace)
'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@level'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${leve
l}'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@logger'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${logg
er}'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@message
'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${mess
age}'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@machine
name'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${mach
inename}'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@user_na
me'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${wind
ows-identity:domain=true}'
2014-08-06 18:18:21.8384 Debug Setting 'WindowsIdentityLayoutRenderer.domain' to
'true'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@call_si
te'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${call
site:filename=true}'
2014-08-06 18:18:21.8384 Debug Setting 'CallSiteLayoutRenderer.filename' to 'tru
e'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@threadi
d'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${thre
adid}'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@log_exc
eption'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${exce
ption}'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.name' to '@log_sta
cktrace'
2014-08-06 18:18:21.8384 Debug Setting 'DatabaseParameterInfo.layout' to '${stac
ktrace}'
2014-08-06 18:18:21.8384 Debug Wrapping target 'SQLServerLog' with AsyncTargetWr
apper and renaming to 'SQLServerLog_wrapped
2014-08-06 18:18:21.8384 Info Adding target AsyncWrapper Target[SQLServerLog](Da
tabase Target[SQLServerLog_wrapped])
2014-08-06 18:18:21.8384 Debug Registering target SQLServerLog: NLog.Targets.Wra
ppers.AsyncTargetWrapper
2014-08-06 18:18:21.8384 Info Configured from an XML element in D:\Indra\LSMK2\L
SMK\LSMK\NLog.config...
2014-08-06 18:18:21.8384 Debug --- NLog configuration dump. --2014-08-06 18:18:21.8384 Debug Targets:
2014-08-06 18:18:21.8384 Info AsyncWrapper Target[default](File Target[default_w
rapped])
2014-08-06 18:18:21.8384 Info AsyncWrapper Target[eventlog](EventLog Target[even
tlog_wrapped])
2014-08-06 18:18:21.8384 Info AsyncWrapper Target[SQLServerLog](Database Target[
SQLServerLog_wrapped])
2014-08-06 18:18:21.8384 Debug Rules:
2014-08-06 18:18:21.8384 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ default ]
2014-08-06 18:18:21.8384 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-08-06 18:18:21.8384 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-08-06 18:18:21.8384 Debug --- End of NLog configuration dump --2014-08-06 18:18:21.8604 Info Found 65 configuration items
2014-08-06 18:18:22.0014 Error Error initializing target EventLog Target[eventlo
g_wrapped] System.Security.SecurityException: The source was not found, but some
or all event logs could not be searched. Inaccessible logs: Security.
at System.Diagnostics.EventLog.FindSourceRegistration(String source, String m
achineName, Boolean readOnly, Boolean wantToCreate)
at System.Diagnostics.EventLog._InternalLogNameFromSourceName(String source,
String machineName)
at System.Diagnostics.EventLog.LogNameFromSourceName(String source, String ma
chineName)
at NLog.Targets.EventLogTarget.InitializeTarget()
at NLog.Targets.Target.Initialize(LoggingConfiguration configuration)
The Zone of the assembly that failed was:
MyComputer.
2014-08-06 18:18:42.6396 Info Shutting down logging...
2014-08-06 18:18:42.7156 Info Closing old configuration.
2014-08-06 18:18:42.7566 Debug Closing logging configuration...
2014-08-06 18:18:42.7566 Debug Finished closing logging configuration.
2014-08-06 18:18:42.7566 Info Logger has been shut down.
2014-08-06 18:20:04.6793 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.name' to 'default'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.layout' to '${longdate} - ${l
evel:uppercase=true}: ${message}${onexception:${newline}EXCEPTION\: ${exception:
format=ToString}}'
2014-08-06 18:20:04.6793 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-08-06 18:20:04.6793 Debug Setting 'OnExceptionLayoutRendererWrapper.Inner'
to '${newline}EXCEPTION: ${exception:format=ToString}'
2014-08-06 18:20:04.6793 Debug Setting 'ExceptionLayoutRenderer.format' to 'ToSt
ring'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.fileName' to ' ${specialfolde
r:ApplicationData}\SahassaLSMK\Debug.log'
2014-08-06 18:20:04.6793 Debug Setting 'SpecialFolderLayoutRenderer.Folder' to '
ApplicationData'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.keepFileOpen' to 'false'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.archiveFileName' to '${specia
lfolder:ApplicationData}\SahassaLSMK\Debug_${shortdate}.{##}.log'
2014-08-06 18:20:04.6793 Debug Setting 'SpecialFolderLayoutRenderer.Folder' to '
ApplicationData'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.archiveNumbering' to 'Sequenc
e'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.archiveEvery' to 'Day'
2014-08-06 18:20:04.6793 Debug Setting 'FileTarget.maxArchiveFiles' to '30'
2014-08-06 18:20:04.6793 Debug Wrapping target 'default' with AsyncTargetWrapper
and renaming to 'default_wrapped
2014-08-06 18:20:04.6793 Info Adding target AsyncWrapper Target[default](File Ta
rget[default_wrapped])
2014-08-06 18:20:04.6793 Debug Registering target default: NLog.Targets.Wrappers
.AsyncTargetWrapper
2014-08-06 18:20:04.6793 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-08-06 18:20:04.6793 Debug Setting 'EventLogTarget.name' to 'eventlog'
2014-08-06 18:20:04.6793 Debug Setting 'EventLogTarget.source' to 'SahassaLSMK'
2014-08-06 18:20:04.6903 Debug Setting 'EventLogTarget.layout' to '${message}${n
ewline}${exception:format=ToString}'
2014-08-06 18:20:04.6903 Debug Setting 'ExceptionLayoutRenderer.format' to 'ToSt
ring'
2014-08-06 18:20:04.6903 Debug Wrapping target 'eventlog' with AsyncTargetWrappe
r and renaming to 'eventlog_wrapped
2014-08-06 18:20:04.6903 Info Adding target AsyncWrapper Target[eventlog](EventL
og Target[eventlog_wrapped])
2014-08-06 18:20:04.6903 Debug Registering target eventlog: NLog.Targets.Wrapper
s.AsyncTargetWrapper
2014-08-06 18:20:04.6903 Debug Setting 'DatabaseTarget.name' to 'SQLServerLog'
2014-08-06 18:20:04.6903 Debug Setting 'DatabaseTarget.connectionString' to 'Dat
a Source=192.168.0.6\sql2008;Initial Catalog=LSMKResona;User Id=sa;Password=keym
aker;'
2014-08-06 18:20:04.6903 Debug Setting 'DatabaseTarget.commandType' to 'Text'
2014-08-06 18:20:04.6903 Debug Setting 'DatabaseTarget.useTransactions' to 'true
'
eption'
2014-08-06 18:23:14.2312 Debug Setting 'DatabaseParameterInfo.layout' to '${exce
ption}'
2014-08-06 18:23:14.2312 Debug Setting 'DatabaseParameterInfo.name' to '@log_sta
cktrace'
2014-08-06 18:23:14.2312 Debug Setting 'DatabaseParameterInfo.layout' to '${stac
ktrace}'
2014-08-06 18:23:14.2312 Debug Wrapping target 'SQLServerLog' with AsyncTargetWr
apper and renaming to 'SQLServerLog_wrapped
2014-08-06 18:23:14.2312 Info Adding target AsyncWrapper Target[SQLServerLog](Da
tabase Target[SQLServerLog_wrapped])
2014-08-06 18:23:14.2312 Debug Registering target SQLServerLog: NLog.Targets.Wra
ppers.AsyncTargetWrapper
2014-08-06 18:23:14.2312 Info Configured from an XML element in D:\Indra\LSMK2\L
SMK\LSMK\NLog.config...
2014-08-06 18:23:14.2312 Debug --- NLog configuration dump. --2014-08-06 18:23:14.2312 Debug Targets:
2014-08-06 18:23:14.2312 Info AsyncWrapper Target[default](File Target[default_w
rapped])
2014-08-06 18:23:14.2312 Info AsyncWrapper Target[eventlog](EventLog Target[even
tlog_wrapped])
2014-08-06 18:23:14.2312 Info AsyncWrapper Target[SQLServerLog](Database Target[
SQLServerLog_wrapped])
2014-08-06 18:23:14.2312 Debug Rules:
2014-08-06 18:23:14.2312 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ default ]
2014-08-06 18:23:14.2312 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-08-06 18:23:14.2312 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-08-06 18:23:14.2312 Debug --- End of NLog configuration dump --2014-08-06 18:23:14.2312 Info Found 65 configuration items
2014-08-06 18:23:14.2502 Error Error initializing target EventLog Target[eventlo
g_wrapped] System.Security.SecurityException: The source was not found, but some
or all event logs could not be searched. Inaccessible logs: Security.
at System.Diagnostics.EventLog.FindSourceRegistration(String source, String m
achineName, Boolean readOnly, Boolean wantToCreate)
at System.Diagnostics.EventLog._InternalLogNameFromSourceName(String source,
String machineName)
at System.Diagnostics.EventLog.LogNameFromSourceName(String source, String ma
chineName)
at NLog.Targets.EventLogTarget.InitializeTarget()
at NLog.Targets.Target.Initialize(LoggingConfiguration configuration)
The Zone of the assembly that failed was:
MyComputer.
2014-08-06 18:26:31.7674 Info Shutting down logging...
2014-08-06 18:26:31.7674 Info Closing old configuration.
2014-08-06 18:26:31.7834 Debug Closing logging configuration...
2014-08-06 18:26:31.7834 Debug Finished closing logging configuration.
2014-08-06 18:26:31.7834 Info Logger has been shut down.
2014-10-14 12:46:28.3245 Debug Setting 'DatabaseTarget.name' to 'SQLServerLog'
2014-10-14 12:46:28.3605 Debug Setting 'DatabaseTarget.connectionString' to 'Dat
a Source=localhost;Initial Catalog=lsmkresona;User Id=sa;Password=1qaz@wsx;'
2014-10-14 12:46:28.3605 Debug Setting 'DatabaseTarget.commandType' to 'Text'
2014-10-14 12:46:28.3855 Debug Setting 'DatabaseTarget.useTransactions' to 'true
'
2014-10-14 12:46:28.3855 Debug Setting 'DatabaseTarget.commandText' to '
INSERT INTO SystemLogs (
log_level,
log_logger,
werTarget
2014-10-14 12:46:28.4655 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-10-14 12:46:28.4655 Debug Setting 'Log4JXmlEventLayoutRenderer.includeNLogD
ata' to 'false'
2014-10-14 12:46:28.4655 Debug Registering target harvester: NLog.Targets.Output
DebugStringTarget
2014-10-14 12:46:28.4655 Info Found 46 configuration items
2014-10-14 12:46:28.5885 Debug Targets for Sahassa.Core.Log by level:
2014-10-14 12:46:28.5885 Debug Trace => SQLServerLog sentinal harvester
2014-10-14 12:46:28.5885 Debug Debug => SQLServerLog sentinal harvester
2014-10-14 12:46:28.5885 Debug Info => SQLServerLog sentinal harvester
2014-10-14 12:46:28.5885 Debug Warn => SQLServerLog sentinal harvester
2014-10-14 12:46:28.5885 Debug Error => SQLServerLog sentinal harvester
2014-10-14 12:46:28.5885 Debug Fatal => SQLServerLog sentinal harvester
2014-10-14 12:46:53.9119 Error Error when writing to database System.Data.SqlCli
ent.SqlException (0x80131904): Login failed for user 'sa'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
dHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlis
tOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSn
iOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirect
edUserInstance, SqlConnectionString connectionOptions, SqlCredential credential,
TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTime
r timeout, SqlConnectionString connectionOptions, SqlCredential credential, Stri
ng newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdent
ity identity, SqlConnectionString connectionOptions, SqlCredential credential, O
bject providerInfo, String newPassword, SecureString newSecurePassword, Boolean
redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData r
econnectSessionData)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOp
tions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConn
ectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConn
ectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConne
ctionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owning
Object, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection o
wningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection
)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean o
nlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& co
nnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
te'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.layout' to '${call
site:filename=true}'
2014-10-14 12:49:39.4554 Debug Setting 'CallSiteLayoutRenderer.filename' to 'tru
e'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.name' to '@threadi
d'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.layout' to '${thre
adid}'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.name' to '@log_exc
eption'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.layout' to '${exce
ption}'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.name' to '@log_sta
cktrace'
2014-10-14 12:49:39.4554 Debug Setting 'DatabaseParameterInfo.layout' to '${stac
ktrace}'
2014-10-14 12:49:39.4694 Debug Wrapping target 'SQLServerLog' with AsyncTargetWr
apper and renaming to 'SQLServerLog_wrapped
2014-10-14 12:49:39.4694 Info Adding target AsyncWrapper Target[SQLServerLog](Da
tabase Target[SQLServerLog_wrapped])
2014-10-14 12:49:39.4694 Debug Registering target SQLServerLog: NLog.Targets.Wra
ppers.AsyncTargetWrapper
2014-10-14 12:49:39.4694 Info Configured from an XML element in D:\Indra\LSMK2\L
SMK\LSMK\NLog.config...
2014-10-14 12:49:39.4694 Debug --- NLog configuration dump. --2014-10-14 12:49:39.4694 Debug Targets:
2014-10-14 12:49:39.4694 Info AsyncWrapper Target[SQLServerLog](Database Target[
SQLServerLog_wrapped])
2014-10-14 12:49:39.4694 Debug Rules:
2014-10-14 12:49:39.4694 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-10-14 12:49:39.4694 Debug --- End of NLog configuration dump --2014-10-14 12:49:39.4844 Info Found 36 configuration items
2014-10-14 12:49:39.5434 Debug Registering target sentinal: NLog.Targets.NLogVie
werTarget
2014-10-14 12:49:39.5434 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-10-14 12:49:39.5434 Debug Setting 'Log4JXmlEventLayoutRenderer.includeNLogD
ata' to 'false'
2014-10-14 12:49:39.5434 Debug Registering target harvester: NLog.Targets.Output
DebugStringTarget
2014-10-14 12:49:39.5434 Info Found 46 configuration items
2014-10-14 12:49:39.5574 Debug Targets for Sahassa.Core.Log by level:
2014-10-14 12:49:39.5574 Debug Trace => SQLServerLog sentinal harvester
2014-10-14 12:49:39.5574 Debug Debug => SQLServerLog sentinal harvester
2014-10-14 12:49:39.5574 Debug Info => SQLServerLog sentinal harvester
2014-10-14 12:49:39.5574 Debug Warn => SQLServerLog sentinal harvester
2014-10-14 12:49:39.5574 Debug Error => SQLServerLog sentinal harvester
2014-10-14 12:49:39.5574 Debug Fatal => SQLServerLog sentinal harvester
2014-10-14 12:49:56.9424 Error Error when writing to database System.Data.SqlCli
ent.SqlException (0x80131904): Login failed for user 'sa'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
at NLog.Targets.DatabaseTarget.OpenConnection(String connectionString)
at NLog.Targets.DatabaseTarget.EnsureConnectionOpen(String connectionString)
at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
at NLog.Targets.DatabaseTarget.Write(AsyncLogEventInfo[] logEvents)
ClientConnectionId:5c3d42e1-cfcd-48c8-abe7-770fcdde8cd2
2014-10-14 12:50:49.7484 Error Error when writing to database System.Data.SqlCli
ent.SqlException (0x80131904): Login failed for user 'sa'.
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean o
nlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& co
nnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbCon
nectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions
, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(Db
Connection outerConnection, DbConnectionFactory connectionFactory, TaskCompletio
nSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 re
try)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at NLog.Targets.DatabaseTarget.OpenConnection(String connectionString)
at NLog.Targets.DatabaseTarget.EnsureConnectionOpen(String connectionString)
at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
at NLog.Targets.DatabaseTarget.Write(AsyncLogEventInfo[] logEvents)
ClientConnectionId:5c3d42e1-cfcd-48c8-abe7-770fcdde8cd2
2014-10-14 12:50:56.9878 Error Error when writing to database System.Data.SqlCli
ent.SqlException (0x80131904): Login failed for user 'sa'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
dHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlis
tOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSn
iOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirect
edUserInstance, SqlConnectionString connectionOptions, SqlCredential credential,
TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTime
r timeout, SqlConnectionString connectionOptions, SqlCredential credential, Stri
ng newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdent
ity identity, SqlConnectionString connectionOptions, SqlCredential credential, O
bject providerInfo, String newPassword, SecureString newSecurePassword, Boolean
redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData r
econnectSessionData)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOp
tions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConn
ectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConn
ectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConne
ctionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owning
Object, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection o
wningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection
)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean o
nlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& co
nnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbCon
nectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions
, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(Db
Connection outerConnection, DbConnectionFactory connectionFactory, TaskCompletio
nSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 re
try)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at NLog.Targets.DatabaseTarget.OpenConnection(String connectionString)
at NLog.Targets.DatabaseTarget.EnsureConnectionOpen(String connectionString)
at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
at NLog.Targets.DatabaseTarget.Write(AsyncLogEventInfo[] logEvents)
ClientConnectionId:616ba6eb-375e-4c5f-b0a4-bcf46543357f
2014-10-14 13:11:50.1955 Info Shutting down logging...
2014-10-14 13:11:50.1955 Info Closing old configuration.
2014-10-14 13:11:50.2395 Debug Closing logging configuration...
2014-10-14 13:11:50.2395 Debug Finished closing logging configuration.
2014-10-14 13:11:50.2395 Info Logger has been shut down.
2014-10-14 14:45:36.9072 Debug Setting 'DatabaseTarget.name' to 'SQLServerLog'
2014-10-14 14:45:36.9362 Debug Setting 'DatabaseTarget.connectionString' to 'Dat
a Source=localhost;Initial Catalog=lsmkresona;User Id=sa;Password=1qaz@wsx;'
2014-10-14 14:45:36.9362 Debug Setting 'DatabaseTarget.commandType' to 'Text'
2014-10-14 14:45:36.9492 Debug Setting 'DatabaseTarget.useTransactions' to 'true
'
2014-10-14 14:45:36.9492 Debug Setting 'DatabaseTarget.commandText' to '
INSERT INTO SystemLogs (
log_level,
log_logger,
log_message, log_machine_name, log_user_name, log_call_site, log_thread,
log_Exception, log_stacktrace) VALUES (@level, @logger, @message, @machinename,
@user_name, @call_site, @threadid,@log_exception, @log_stacktrace)
'
2014-10-14 14:45:36.9492 Debug Setting 'DatabaseParameterInfo.name' to '@level'
2014-10-14 14:45:36.9572 Debug Setting 'DatabaseParameterInfo.layout' to '${leve
l}'
2014-10-14 14:45:36.9572 Debug Setting 'DatabaseParameterInfo.name' to '@logger'
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 re
try)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at NLog.Targets.DatabaseTarget.OpenConnection(String connectionString)
at NLog.Targets.DatabaseTarget.EnsureConnectionOpen(String connectionString)
at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
at NLog.Targets.DatabaseTarget.Write(AsyncLogEventInfo[] logEvents)
ClientConnectionId:27a3b786-927a-47ac-94db-1dc98b46952b
2014-10-14 15:06:09.8737 Info Shutting down logging...
2014-10-14 15:06:09.8907 Info Closing old configuration.
2014-10-14 15:06:09.9647 Debug Closing logging configuration...
2014-10-14 15:06:09.9647 Debug Finished closing logging configuration.
2014-10-14 15:06:09.9647 Info Logger has been shut down.
2014-12-10 15:21:36.4559 Debug Setting 'DatabaseTarget.name' to 'SQLServerLog'
2014-12-10 15:21:36.4559 Debug Setting 'DatabaseTarget.connectionString' to 'Dat
a Source=localhost;Initial Catalog=lsmkresona;User Id=sa;Password=1qaz@wsx;'
2014-12-10 15:21:36.4559 Debug Setting 'DatabaseTarget.commandType' to 'Text'
2014-12-10 15:21:36.4840 Debug Setting 'DatabaseTarget.useTransactions' to 'true
'
2014-12-10 15:21:36.4840 Debug Setting 'DatabaseTarget.commandText' to '
INSERT INTO SystemLogs (
log_level,
log_logger,
log_message, log_machine_name, log_user_name, log_call_site, log_thread,
log_Exception, log_stacktrace) VALUES (@level, @logger, @message, @machinename,
@user_name, @call_site, @threadid,@log_exception, @log_stacktrace)
'
2014-12-10 15:21:36.4840 Debug Setting 'DatabaseParameterInfo.name' to '@level'
2014-12-10 15:21:36.4840 Debug Setting 'DatabaseParameterInfo.layout' to '${leve
l}'
2014-12-10 15:21:36.4840 Debug Setting 'DatabaseParameterInfo.name' to '@logger'
2014-12-10 15:21:36.4840 Debug Setting 'DatabaseParameterInfo.layout' to '${logg
er}'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@message
'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${mess
age}'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@machine
name'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${mach
inename}'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@user_na
me'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${wind
ows-identity:domain=true}'
2014-12-10 15:21:36.4996 Debug Setting 'WindowsIdentityLayoutRenderer.domain' to
'true'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@call_si
te'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${call
site:filename=true}'
2014-12-10 15:21:36.4996 Debug Setting 'CallSiteLayoutRenderer.filename' to 'tru
e'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@threadi
d'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${thre
adid}'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@log_exc
eption'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${exce
ption}'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.name' to '@log_sta
cktrace'
2014-12-10 15:21:36.4996 Debug Setting 'DatabaseParameterInfo.layout' to '${stac
ktrace}'
2014-12-10 15:21:36.5152 Debug Wrapping target 'SQLServerLog' with AsyncTargetWr
apper and renaming to 'SQLServerLog_wrapped
2014-12-10 15:21:36.5152 Info Adding target AsyncWrapper Target[SQLServerLog](Da
tabase Target[SQLServerLog_wrapped])
2014-12-10 15:21:36.5152 Debug Registering target SQLServerLog: NLog.Targets.Wra
ppers.AsyncTargetWrapper
2014-12-10 15:21:36.5152 Info Configured from an XML element in D:\Indra\LSMK2\L
SMK\LSMK\NLog.config...
2014-12-10 15:21:36.5152 Debug --- NLog configuration dump. --2014-12-10 15:21:36.5152 Debug Targets:
2014-12-10 15:21:36.5152 Info AsyncWrapper Target[SQLServerLog](Database Target[
SQLServerLog_wrapped])
2014-12-10 15:21:36.5152 Debug Rules:
2014-12-10 15:21:36.5152 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-12-10 15:21:36.5152 Debug --- End of NLog configuration dump --2014-12-10 15:21:36.5464 Info Found 36 configuration items
2014-12-10 15:21:36.5776 Debug Registering target sentinal: NLog.Targets.NLogVie
werTarget
2014-12-10 15:21:36.5776 Debug Setting 'UppercaseLayoutRendererWrapper.uppercase
' to 'true'
2014-12-10 15:21:36.5776 Debug Setting 'Log4JXmlEventLayoutRenderer.includeNLogD
ata' to 'false'
2014-12-10 15:21:36.5776 Debug Registering target harvester: NLog.Targets.Output
DebugStringTarget
2014-12-10 15:21:36.5776 Info Found 46 configuration items
2014-12-10 15:21:36.8297 Debug Targets for Sahassa.Core.Log by level:
2014-12-10 15:21:36.8297 Debug Trace => SQLServerLog sentinal harvester
2014-12-10 15:21:36.8297 Debug Debug => SQLServerLog sentinal harvester
2014-12-10 15:21:36.8297 Debug Info => SQLServerLog sentinal harvester
2014-12-10 15:21:36.8297 Debug Warn => SQLServerLog sentinal harvester
2014-12-10 15:21:36.8297 Debug Error => SQLServerLog sentinal harvester
2014-12-10 15:21:36.8297 Debug Fatal => SQLServerLog sentinal harvester
2014-12-10 15:21:58.9611 Error Error when writing to database System.Data.SqlCli
ent.SqlException (0x80131904): Login failed for user 'sa'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
dHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlis
tOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSn
iOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
log_level,
log_logger,
log_message, log_machine_name, log_user_name, log_call_site, log_thread,
log_Exception, log_stacktrace) VALUES (@level, @logger, @message, @machinename,
@user_name, @call_site, @threadid,@log_exception, @log_stacktrace)
'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@level'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${leve
l}'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@logger'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${logg
er}'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@message
'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${mess
age}'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@machine
name'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${mach
inename}'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@user_na
me'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${wind
ows-identity:domain=true}'
2014-12-10 15:23:09.7221 Debug Setting 'WindowsIdentityLayoutRenderer.domain' to
'true'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@call_si
te'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${call
site:filename=true}'
2014-12-10 15:23:09.7221 Debug Setting 'CallSiteLayoutRenderer.filename' to 'tru
e'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@threadi
d'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${thre
adid}'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@log_exc
eption'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${exce
ption}'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.name' to '@log_sta
cktrace'
2014-12-10 15:23:09.7221 Debug Setting 'DatabaseParameterInfo.layout' to '${stac
ktrace}'
2014-12-10 15:23:09.7221 Debug Wrapping target 'SQLServerLog' with AsyncTargetWr
apper and renaming to 'SQLServerLog_wrapped
2014-12-10 15:23:09.7221 Info Adding target AsyncWrapper Target[SQLServerLog](Da
tabase Target[SQLServerLog_wrapped])
2014-12-10 15:23:09.7221 Debug Registering target SQLServerLog: NLog.Targets.Wra
ppers.AsyncTargetWrapper
2014-12-10 15:23:09.7221 Info Configured from an XML element in D:\Indra\LSMK2\L
SMK\LSMK\NLog.config...
2014-12-10 15:23:09.7377 Debug --- NLog configuration dump. --2014-12-10 15:23:09.7377 Debug Targets:
2014-12-10 15:23:09.7377 Info AsyncWrapper Target[SQLServerLog](Database Target[
SQLServerLog_wrapped])
2014-12-10 15:23:09.7377 Debug Rules:
2014-12-10 15:23:09.7377 Info logNamePattern: (:All) levels: [ Trace Debug Info
Warn Error Fatal ] appendTo: [ SQLServerLog ]
2014-12-10 15:23:09.7377 Debug --- End of NLog configuration dump ---
nnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbCon
nectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions
, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(Db
Connection outerConnection, DbConnectionFactory connectionFactory, TaskCompletio
nSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 re
try)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at NLog.Targets.DatabaseTarget.OpenConnection(String connectionString)
at NLog.Targets.DatabaseTarget.EnsureConnectionOpen(String connectionString)
at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
at NLog.Targets.DatabaseTarget.Write(AsyncLogEventInfo[] logEvents)
ClientConnectionId:87443c46-4bef-4df2-85f5-f0bd46575c85
2014-12-10 15:23:37.7788 Error Error when writing to database System.Data.SqlCli
ent.SqlException (0x80131904): Login failed for user 'sa'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
dHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlis
tOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSn
iOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirect
edUserInstance, SqlConnectionString connectionOptions, SqlCredential credential,
TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTime
r timeout, SqlConnectionString connectionOptions, SqlCredential credential, Stri
ng newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdent
ity identity, SqlConnectionString connectionOptions, SqlCredential credential, O
bject providerInfo, String newPassword, SecureString newSecurePassword, Boolean
redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData r
econnectSessionData)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOp
tions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConn
ectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConn
ectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConne
ctionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owning
Object, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection o
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection ow
ningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbCon
nectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions
, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(Db
Connection outerConnection, DbConnectionFactory connectionFactory, TaskCompletio
nSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 re
try)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at NLog.Targets.DatabaseTarget.OpenConnection(String connectionString)
at NLog.Targets.DatabaseTarget.EnsureConnectionOpen(String connectionString)
at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
at NLog.Targets.DatabaseTarget.Write(AsyncLogEventInfo[] logEvents)
ClientConnectionId:a3be2dbe-b5ce-4d03-999c-73a2fd9b4efb
2014-12-10 15:24:06.3423 Info Shutting down logging...
2014-12-10 15:24:06.3579 Info Closing old configuration.
2014-12-10 15:24:06.4047 Debug Closing logging configuration...
2014-12-10 15:24:06.4047 Debug Finished closing logging configuration.
2014-12-10 15:24:06.4047 Info Logger has been shut down.
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseTarget.name' to 'SQLServerLog'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseTarget.connectionString' to 'Dat
a Source=localhost;Initial Catalog=lsmkresona;User Id=sa;Password=1qaz@wsx;'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseTarget.commandType' to 'Text'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseTarget.useTransactions' to 'true
'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseTarget.commandText' to '
INSERT INTO SystemLogs (
log_level,
log_logger,
log_message, log_machine_name, log_user_name, log_call_site, log_thread,
log_Exception, log_stacktrace) VALUES (@level, @logger, @message, @machinename,
@user_name, @call_site, @threadid,@log_exception, @log_stacktrace)
'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.name' to '@level'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.layout' to '${leve
l}'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.name' to '@logger'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.layout' to '${logg
er}'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.name' to '@message
'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.layout' to '${mess
age}'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.name' to '@machine
name'
2014-12-10 15:24:08.5128 Debug Setting 'DatabaseParameterInfo.layout' to '${mach
inename}'
2014-12-10 15:24:08.5284 Debug Setting 'DatabaseParameterInfo.name' to '@user_na
me'
2014-12-10 15:24:08.5284 Debug Setting 'DatabaseParameterInfo.layout' to '${wind
ows-identity:domain=true}'
2014-12-10 15:24:08.5284 Debug Setting 'WindowsIdentityLayoutRenderer.domain' to
'true'