From d91bfaced1c6afb63d4a7b637b5705de2037eeee Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 19 Apr 2019 21:54:36 +0200 Subject: [PATCH] Update NuGet NLog --- C-TRACK/C-TRACK.csproj | 8 +- C-TRACK/NLog.xsd | 501 ++++++++++++++++++++++++++++++++-------- C-TRACK/packages.config | 6 +- 3 files changed, 414 insertions(+), 101 deletions(-) diff --git a/C-TRACK/C-TRACK.csproj b/C-TRACK/C-TRACK.csproj index c4bcc60..c202220 100644 --- a/C-TRACK/C-TRACK.csproj +++ b/C-TRACK/C-TRACK.csproj @@ -62,7 +62,7 @@ ..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll - ..\packages\NLog.4.5.11\lib\net45\NLog.dll + ..\packages\NLog.4.6.2\lib\net45\NLog.dll ..\packages\Pipelines.Sockets.Unofficial.1.0.9\lib\net461\Pipelines.Sockets.Unofficial.dll @@ -273,9 +273,6 @@ - - PreserveNewest - @@ -333,6 +330,9 @@ + + PreserveNewest + Designer diff --git a/C-TRACK/NLog.xsd b/C-TRACK/NLog.xsd index 075bb91..193cb6b 100644 --- a/C-TRACK/NLog.xsd +++ b/C-TRACK/NLog.xsd @@ -276,6 +276,7 @@ + @@ -292,6 +293,11 @@ Number of log events that should be processed in a batch by the lazy writer thread. + + + Whether to use the locking queue, instead of a lock-free concurrent queue The locking queue is less concurrent when many logger threads, but reduces memory allocation + + Limit of full s to write before yielding into Performance is better when writing many small batches, than writing a single large batch @@ -309,7 +315,7 @@ - Time in milliseconds to sleep between batches. + Time in milliseconds to sleep between batches. (1 or less means trigger on new activity) @@ -419,18 +425,20 @@ - - - - - + + + + + + + - - + + @@ -438,7 +446,7 @@ - + @@ -471,24 +479,9 @@ Indicates whether to append newline at the end of log message. - + - Action that should be taken if the will be more connections than . - - - - - Maximum queue size. - - - - - Maximum current connections. 0 = no maximum. - - - - - Indicates whether to keep connection open whenever possible. + Network address. @@ -496,9 +489,19 @@ Size of the connection cache (number of connections which are kept alive). - + - Network address. + Indicates whether to keep connection open whenever possible. + + + + + Maximum current connections. 0 = no maximum. + + + + + Action that should be taken if the will be more connections than . @@ -506,14 +509,34 @@ Action that should be taken if the message is larger than maxMessageSize. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + + + + Maximum queue size. + + + + + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + NDLC item separator. - + - NDC item separator. + Indicates whether to include source info (file name and line number) in the information sent over the network. + + + + + Renderer for log4j:event logger-xml-attribute (Default ${logger}) @@ -521,11 +544,6 @@ Indicates whether to include NLog-specific extensions to log4j schema. - - - Indicates whether to include source info (file name and line number) in the information sent over the network. - - Indicates whether to include contents of the stack. @@ -561,9 +579,9 @@ AppInfo field. By default it's the friendly name of the current AppDomain. - + - Renderer for log4j:event logger-xml-attribute (Default ${logger}) + NDC item separator. @@ -588,6 +606,17 @@ + + + + + + + + + + + @@ -613,6 +642,7 @@ + @@ -645,6 +675,11 @@ Indicates whether to auto-check if the console is available. - Disables console writing if Environment.UserInteractive = False (Windows Service) - Disables console writing if Console Standard Input is not available (Non-Console-App) + + + Enables output using ANSI Color Codes + + The encoding for writing messages to the . @@ -946,20 +981,34 @@ - + + + - + + + + + + Database parameter name. + + Layout that should be use to calcuate the value for the parameter. - + - Database parameter name. + Database parameter DbType. + + + + + Database parameter size. @@ -972,9 +1021,19 @@ Database parameter scale. - + - Database parameter size. + Type of the parameter. + + + + + Convert format of the database parameter value . + + + + + Culture used for parsing parameter string-value for type-conversion @@ -1076,7 +1135,7 @@ - Optional entrytype. When not set, or when not convertable to then determined by + Optional entrytype. When not set, or when not convertible to then determined by @@ -1096,7 +1155,7 @@ - Maximum Event log size in kilobytes. If null, the value won't be set. Default is 512 Kilobytes as specified by Eventlog API + Maximum Event log size in kilobytes. @@ -1867,6 +1926,7 @@ + @@ -1879,6 +1939,11 @@ Layout used to format log messages. + + + Max number of items to have in memory + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit @@ -1937,6 +2002,8 @@ + + @@ -2004,6 +2071,16 @@ Action that should be taken if the message is larger than maxMessageSize. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + + + + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit @@ -2022,18 +2099,20 @@ - - - - - + + + + + + + - - + + @@ -2041,7 +2120,7 @@ - + @@ -2074,24 +2153,9 @@ Indicates whether to append newline at the end of log message. - + - Action that should be taken if the will be more connections than . - - - - - Maximum queue size. - - - - - Maximum current connections. 0 = no maximum. - - - - - Indicates whether to keep connection open whenever possible. + Network address. @@ -2099,9 +2163,19 @@ Size of the connection cache (number of connections which are kept alive). - + - Network address. + Indicates whether to keep connection open whenever possible. + + + + + Maximum current connections. 0 = no maximum. + + + + + Action that should be taken if the will be more connections than . @@ -2109,14 +2183,34 @@ Action that should be taken if the message is larger than maxMessageSize. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + + + + Maximum queue size. + + + + + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + NDLC item separator. - + - NDC item separator. + Indicates whether to include source info (file name and line number) in the information sent over the network. + + + + + Renderer for log4j:event logger-xml-attribute (Default ${logger}) @@ -2124,11 +2218,6 @@ Indicates whether to include NLog-specific extensions to log4j schema. - - - Indicates whether to include source info (file name and line number) in the information sent over the network. - - Indicates whether to include contents of the stack. @@ -2164,9 +2253,9 @@ AppInfo field. By default it's the friendly name of the current AppDomain. - + - Renderer for log4j:event logger-xml-attribute (Default ${logger}) + NDC item separator. @@ -2709,6 +2798,13 @@ + + + + + + + @@ -2720,17 +2816,11 @@ - - - - - - - + @@ -2742,6 +2832,11 @@ Name of the column. + + + Override of Quoting mode + + @@ -2750,11 +2845,12 @@ + + - @@ -2766,6 +2862,11 @@ Option to include all properties from the log event (as JSON) + + + Indicates whether to include contents of the dictionary. + + Indicates whether to include contents of the dictionary. @@ -2776,6 +2877,11 @@ Indicates whether to include contents of the dictionary. + + + How far should the JSON serializer follow object references before backing off + + Option to render the empty object value {} @@ -2786,11 +2892,6 @@ Option to suppress the extra spaces in the output json - - - How far should the JSON serializer follow object references before backing off - - @@ -2906,6 +3007,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + List of property names to exclude when is true + + + + + Option to include all properties from the log event (as XML) + + + + + Indicates whether to include contents of the dictionary. + + + + + Indicates whether to include contents of the dictionary. + + + + + How far should the XML serializer follow object references before backing off + + + + + XML element name to use for rendering IList-collections items + + + + + XML attribute name to use when rendering property-key When null (or empty) then key-attribute is not included + + + + + XML element name to use when rendering properties + + + + + XML attribute name to use when rendering property-value When null (or empty) then value-attribute is not included and value is formatted as XML-element-value + + + + + Name of the root XML element + + + + + Value inside the root XML element + + + + + Whether a ElementValue with empty value should be included in the output + + + + + Auto indent and create new lines + + + + + Determines wether or not this attribute will be Xml encoded. + + + + + + + + + + + + + + + Layout that will be rendered as the attribute's value. + + + + + Name of the attribute. + + + + + Determines wether or not this attribute will be Xml encoded. + + + + + Whether an attribute with empty value should be included in the output + + + + + + + + + + + + + + + + + + + + + + + + + Determines wether or not this attribute will be Xml encoded. + + + + + Name of the element + + + + + Value inside the element + + + + + Whether a ElementValue with empty value should be included in the output + + + + + Auto indent and create new lines + + + + + List of property names to exclude when is true + + + + + Option to include all properties from the log event (as XML) + + + + + Indicates whether to include contents of the dictionary. + + + + + Indicates whether to include contents of the dictionary. + + + + + How far should the XML serializer follow object references before backing off + + + + + XML element name to use for rendering IList-collections items + + + + + XML attribute name to use when rendering property-key When null (or empty) then key-attribute is not included + + + + + XML element name to use when rendering properties + + + + + XML attribute name to use when rendering property-value When null (or empty) then value-attribute is not included and value is formatted as XML-element-value + + + diff --git a/C-TRACK/packages.config b/C-TRACK/packages.config index 051cf81..1ad9a7a 100644 --- a/C-TRACK/packages.config +++ b/C-TRACK/packages.config @@ -29,9 +29,9 @@ - - - + + +