From 1bf2b07ed9fe963f08e14a1b89092b73bc715acd Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 2 Oct 2020 23:25:50 +0200 Subject: [PATCH] Update NuGet NLog --- MP-IO/MP-IO.csproj | 4 +- MP-IO/NLog.xsd | 442 ++++++++++++++++++++++++----------------- MP-IO/packages.config | 4 +- MP-TAB/NLog.xsd | 442 ++++++++++++++++++++++++----------------- MP-TAB/packages.config | 4 +- 5 files changed, 536 insertions(+), 360 deletions(-) diff --git a/MP-IO/MP-IO.csproj b/MP-IO/MP-IO.csproj index 2754e4d5..76f7bf04 100644 --- a/MP-IO/MP-IO.csproj +++ b/MP-IO/MP-IO.csproj @@ -360,11 +360,11 @@ + + PreserveNewest - - Designer diff --git a/MP-IO/NLog.xsd b/MP-IO/NLog.xsd index 16d888c8..32246a71 100644 --- a/MP-IO/NLog.xsd +++ b/MP-IO/NLog.xsd @@ -123,7 +123,7 @@ - Name of the logger. May include wildcard characters ('*' or '?'). + Filter on the name of the logger. May include wildcard characters ('*' or '?'). @@ -156,6 +156,11 @@ Ignore further rules if this one matches. + + + Enable this rule. Note: disabled rules aren't available from the API. + + Rule identifier to allow rule lookup with Configuration.FindRuleByName and Configuration.RemoveRuleByName. @@ -351,8 +356,8 @@ - + @@ -365,16 +370,16 @@ Condition expression. Log events who meet this condition will cause a flush on the wrapped target. - - - Name of the target. - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush + + + Name of the target. + + 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 @@ -443,15 +448,15 @@ + - + + - - - + @@ -497,6 +502,11 @@ Indicates whether to append newline at the end of log message. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + Network address. @@ -507,9 +517,14 @@ Size of the connection cache (number of connections which are kept alive). - + - Indicates whether to keep connection open whenever possible. + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + + + + Maximum queue size. @@ -527,19 +542,9 @@ 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 + Indicates whether to keep connection open whenever possible. @@ -610,6 +615,18 @@ + + + + + + + + + + + + @@ -624,18 +641,6 @@ - - - - - - - - - - - - @@ -670,11 +675,11 @@ + - @@ -717,6 +722,11 @@ Indicates whether the error stream (stderr) should be used instead of the output stream (stdout). + + + Indicates whether to auto-flush after + + Indicates whether to auto-check if the console has been redirected to file - Disables coloring logic when System.Console.IsOutputRedirected = true @@ -727,11 +737,6 @@ Indicates whether to use default row highlighting rules. - - - Indicates whether to auto-flush after - - 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 @@ -786,6 +791,7 @@ + @@ -798,6 +804,11 @@ Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. + + + Condition that must be met before scanning the row for highlight of words + + Indicates whether to ignore case when comparing texts. @@ -837,10 +848,10 @@ + - @@ -864,6 +875,11 @@ Footer. + + + Indicates whether to auto-flush after + + 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) @@ -879,11 +895,6 @@ Indicates whether to send the log messages to the standard error instead of the standard output. - - - Indicates whether to auto-flush after - - Whether to enable batch writing using char[]-buffers, instead of using @@ -903,21 +914,24 @@ - + - - + + - + + + + - + @@ -929,9 +943,9 @@ Obsolete - value will be ignored! The logging code always runs outside of transaction. Gets or sets a value indicating whether to use database transactions. Some data providers require this. - + - Database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. + Indicates whether to keep the database connection open between the log events. @@ -944,14 +958,14 @@ Database password. If the ConnectionString is not provided this value will be used to construct the "Password=" part of the connection string. - + - Indicates whether to keep the database connection open between the log events. + Database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. - + - Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. + Database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. @@ -964,9 +978,9 @@ Connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase. - + - Database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. + Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. @@ -974,6 +988,11 @@ Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. + + + Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. + + 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 @@ -999,6 +1018,51 @@ + + + + + + + + + + + + + + + + + + + + + + Convert format of the property value + + + + + Culture used for parsing property string-value for type-conversion + + + + + Value to assign on the object-property + + + + + Name for the object-property + + + + + Type of the object-property + + + @@ -1037,6 +1101,7 @@ + @@ -1075,9 +1140,14 @@ Type of the parameter. + + + Whether empty value should translate into DbNull. Requires database column to allow NULL values. + + - Convert format of the database parameter value . + Convert format of the database parameter value. @@ -1273,6 +1343,7 @@ + @@ -1282,19 +1353,20 @@ - - - - - - - - - - - + + + + + + + + + + + + @@ -1338,6 +1410,11 @@ Line ending mode. + + + Maximum days of archive files that should be kept. + + Indicates whether to compress archive files into the zip archive format. @@ -1383,61 +1460,6 @@ Maximum number of log file names that should be stored as existing. - - - Is the an absolute or relative path? - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Indicates whether file creation calls should be synchronized by a system global mutex. - - - - - Indicates whether to replace file contents on each write instead of appending log message at the end. - - - - - Indicates whether to write BOM (byte order mark) in created files - - - - - Indicates whether to enable log file(s) to be deleted. - - - - - Name of the file to write to. - - - - - Value specifying the date format to use when archiving files. - - - - - Indicates whether to archive old log file on startup. - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong. - - - - - Indicates whether to create directories if they do not exist. - - Indicates whether to delete old log file on startup. @@ -1448,6 +1470,66 @@ File attributes (Windows only). + + + Indicates whether to create directories if they do not exist. + + + + + Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong. + + + + + Value of the file size threshold to archive old log file on startup. + + + + + Indicates whether to archive old log file on startup. + + + + + Value specifying the date format to use when archiving files. + + + + + Indicates whether to enable log file(s) to be deleted. + + + + + Indicates whether to write BOM (byte order mark) in created files + + + + + Indicates whether to replace file contents on each write instead of appending log message at the end. + + + + + Indicates whether file creation calls should be synchronized by a system global mutex. + + + + + Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. + + + + + Is the an absolute or relative path? + + + + + Name of the file to write to. + + 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 @@ -2047,13 +2129,13 @@ + - @@ -2096,6 +2178,11 @@ Size of the connection cache (number of connections which are kept alive). + + + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + Indicates whether to keep connection open whenever possible. @@ -2126,11 +2213,6 @@ 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 @@ -2149,15 +2231,15 @@ + - + + - - - + @@ -2203,6 +2285,11 @@ Indicates whether to append newline at the end of log message. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + Network address. @@ -2213,9 +2300,14 @@ Size of the connection cache (number of connections which are kept alive). - + - Indicates whether to keep connection open whenever possible. + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + + + + Maximum queue size. @@ -2233,19 +2325,9 @@ 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 + Indicates whether to keep connection open whenever possible. @@ -2635,6 +2717,7 @@ + @@ -2648,6 +2731,11 @@ Layout used to format log messages. + + + Forward to (Instead of ) + + Always use independent of @@ -2892,6 +2980,9 @@ + + + @@ -2899,10 +2990,22 @@ - - - + + + Should forward slashes be escaped? If true, / will be converted to \/ + + + + + Option to render the empty object value {} + + + + + Option to suppress the extra spaces in the output json + + List of property names to exclude when is true @@ -2933,21 +3036,6 @@ How far should the JSON serializer follow object references before backing off - - - Option to render the empty object value {} - - - - - Option to suppress the extra spaces in the output json - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - @@ -2956,9 +3044,9 @@ + - @@ -2975,6 +3063,11 @@ Determines whether or not this attribute will be Json encoded. + + + Should forward slashes be escaped? If true, / will be converted to \/ + + Indicates whether to escape non-ascii characters @@ -2985,11 +3078,6 @@ Whether an attribute with empty value should be included in the output - - - Should forward slashes be escaped? If true, / will be converted to \/ - - diff --git a/MP-IO/packages.config b/MP-IO/packages.config index 589d45a5..334d0c99 100644 --- a/MP-IO/packages.config +++ b/MP-IO/packages.config @@ -34,8 +34,8 @@ - - + + diff --git a/MP-TAB/NLog.xsd b/MP-TAB/NLog.xsd index 16d888c8..32246a71 100644 --- a/MP-TAB/NLog.xsd +++ b/MP-TAB/NLog.xsd @@ -123,7 +123,7 @@ - Name of the logger. May include wildcard characters ('*' or '?'). + Filter on the name of the logger. May include wildcard characters ('*' or '?'). @@ -156,6 +156,11 @@ Ignore further rules if this one matches. + + + Enable this rule. Note: disabled rules aren't available from the API. + + Rule identifier to allow rule lookup with Configuration.FindRuleByName and Configuration.RemoveRuleByName. @@ -351,8 +356,8 @@ - + @@ -365,16 +370,16 @@ Condition expression. Log events who meet this condition will cause a flush on the wrapped target. - - - Name of the target. - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush + + + Name of the target. + + 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 @@ -443,15 +448,15 @@ + - + + - - - + @@ -497,6 +502,11 @@ Indicates whether to append newline at the end of log message. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + Network address. @@ -507,9 +517,14 @@ Size of the connection cache (number of connections which are kept alive). - + - Indicates whether to keep connection open whenever possible. + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + + + + Maximum queue size. @@ -527,19 +542,9 @@ 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 + Indicates whether to keep connection open whenever possible. @@ -610,6 +615,18 @@ + + + + + + + + + + + + @@ -624,18 +641,6 @@ - - - - - - - - - - - - @@ -670,11 +675,11 @@ + - @@ -717,6 +722,11 @@ Indicates whether the error stream (stderr) should be used instead of the output stream (stdout). + + + Indicates whether to auto-flush after + + Indicates whether to auto-check if the console has been redirected to file - Disables coloring logic when System.Console.IsOutputRedirected = true @@ -727,11 +737,6 @@ Indicates whether to use default row highlighting rules. - - - Indicates whether to auto-flush after - - 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 @@ -786,6 +791,7 @@ + @@ -798,6 +804,11 @@ Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. + + + Condition that must be met before scanning the row for highlight of words + + Indicates whether to ignore case when comparing texts. @@ -837,10 +848,10 @@ + - @@ -864,6 +875,11 @@ Footer. + + + Indicates whether to auto-flush after + + 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) @@ -879,11 +895,6 @@ Indicates whether to send the log messages to the standard error instead of the standard output. - - - Indicates whether to auto-flush after - - Whether to enable batch writing using char[]-buffers, instead of using @@ -903,21 +914,24 @@ - + - - + + - + + + + - + @@ -929,9 +943,9 @@ Obsolete - value will be ignored! The logging code always runs outside of transaction. Gets or sets a value indicating whether to use database transactions. Some data providers require this. - + - Database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. + Indicates whether to keep the database connection open between the log events. @@ -944,14 +958,14 @@ Database password. If the ConnectionString is not provided this value will be used to construct the "Password=" part of the connection string. - + - Indicates whether to keep the database connection open between the log events. + Database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. - + - Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. + Database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. @@ -964,9 +978,9 @@ Connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase. - + - Database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. + Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. @@ -974,6 +988,11 @@ Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. + + + Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. + + 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 @@ -999,6 +1018,51 @@ + + + + + + + + + + + + + + + + + + + + + + Convert format of the property value + + + + + Culture used for parsing property string-value for type-conversion + + + + + Value to assign on the object-property + + + + + Name for the object-property + + + + + Type of the object-property + + + @@ -1037,6 +1101,7 @@ + @@ -1075,9 +1140,14 @@ Type of the parameter. + + + Whether empty value should translate into DbNull. Requires database column to allow NULL values. + + - Convert format of the database parameter value . + Convert format of the database parameter value. @@ -1273,6 +1343,7 @@ + @@ -1282,19 +1353,20 @@ - - - - - - - - - - - + + + + + + + + + + + + @@ -1338,6 +1410,11 @@ Line ending mode. + + + Maximum days of archive files that should be kept. + + Indicates whether to compress archive files into the zip archive format. @@ -1383,61 +1460,6 @@ Maximum number of log file names that should be stored as existing. - - - Is the an absolute or relative path? - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Indicates whether file creation calls should be synchronized by a system global mutex. - - - - - Indicates whether to replace file contents on each write instead of appending log message at the end. - - - - - Indicates whether to write BOM (byte order mark) in created files - - - - - Indicates whether to enable log file(s) to be deleted. - - - - - Name of the file to write to. - - - - - Value specifying the date format to use when archiving files. - - - - - Indicates whether to archive old log file on startup. - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong. - - - - - Indicates whether to create directories if they do not exist. - - Indicates whether to delete old log file on startup. @@ -1448,6 +1470,66 @@ File attributes (Windows only). + + + Indicates whether to create directories if they do not exist. + + + + + Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong. + + + + + Value of the file size threshold to archive old log file on startup. + + + + + Indicates whether to archive old log file on startup. + + + + + Value specifying the date format to use when archiving files. + + + + + Indicates whether to enable log file(s) to be deleted. + + + + + Indicates whether to write BOM (byte order mark) in created files + + + + + Indicates whether to replace file contents on each write instead of appending log message at the end. + + + + + Indicates whether file creation calls should be synchronized by a system global mutex. + + + + + Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. + + + + + Is the an absolute or relative path? + + + + + Name of the file to write to. + + 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 @@ -2047,13 +2129,13 @@ + - @@ -2096,6 +2178,11 @@ Size of the connection cache (number of connections which are kept alive). + + + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + Indicates whether to keep connection open whenever possible. @@ -2126,11 +2213,6 @@ 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 @@ -2149,15 +2231,15 @@ + - + + - - - + @@ -2203,6 +2285,11 @@ Indicates whether to append newline at the end of log message. + + + Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. + + Network address. @@ -2213,9 +2300,14 @@ Size of the connection cache (number of connections which are kept alive). - + - Indicates whether to keep connection open whenever possible. + The number of seconds a connection will remain idle before the first keep-alive probe is sent + + + + + Maximum queue size. @@ -2233,19 +2325,9 @@ 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 + Indicates whether to keep connection open whenever possible. @@ -2635,6 +2717,7 @@ + @@ -2648,6 +2731,11 @@ Layout used to format log messages. + + + Forward to (Instead of ) + + Always use independent of @@ -2892,6 +2980,9 @@ + + + @@ -2899,10 +2990,22 @@ - - - + + + Should forward slashes be escaped? If true, / will be converted to \/ + + + + + Option to render the empty object value {} + + + + + Option to suppress the extra spaces in the output json + + List of property names to exclude when is true @@ -2933,21 +3036,6 @@ How far should the JSON serializer follow object references before backing off - - - Option to render the empty object value {} - - - - - Option to suppress the extra spaces in the output json - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - @@ -2956,9 +3044,9 @@ + - @@ -2975,6 +3063,11 @@ Determines whether or not this attribute will be Json encoded. + + + Should forward slashes be escaped? If true, / will be converted to \/ + + Indicates whether to escape non-ascii characters @@ -2985,11 +3078,6 @@ Whether an attribute with empty value should be included in the output - - - Should forward slashes be escaped? If true, / will be converted to \/ - - diff --git a/MP-TAB/packages.config b/MP-TAB/packages.config index 1f78c78e..c9aee382 100644 --- a/MP-TAB/packages.config +++ b/MP-TAB/packages.config @@ -34,8 +34,8 @@ - - + +