File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -1091,6 +1091,33 @@ in the parameter binding.</programlisting>
1091
1091
</para >
1092
1092
</entry >
1093
1093
</row >
1094
+ <row >
1095
+ <entry >
1096
+ <literal >nhibernate-logger</literal >
1097
+ </entry >
1098
+ <entry >
1099
+ The class name of an <literal >ILoggerFactory</literal > implementation. It allows using another
1100
+ logger than log4net.
1101
+ <para >
1102
+ The default is not defined, which causes NHibernate to search for log4net assembly. If this
1103
+ search succeeds, NHibernate will log with log4net. Otherwise, its internal logging will
1104
+ be disabled.
1105
+ </para >
1106
+ <para >
1107
+ This is a very special system-level property. It can only be set through an
1108
+ <ulink url =" https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/appsettings/" >appSetting</ulink >
1109
+ named <literal >nhibernate-logger</literal > in the application configuration file. It cannot
1110
+ be set neither with <literal >NHibernate.Cfg.Environment</literal > class, nor be defined in the
1111
+ <literal >< hibernate-configuration> </literal > section of the application
1112
+ configuration file, nor supplied by using <literal >Configuration.SetProperties</literal >, nor
1113
+ set in the <literal >hibernate.cfg.xml</literal > configuration file.
1114
+ </para >
1115
+ <para >
1116
+ <emphasis role =" strong" >eg.</emphasis >
1117
+ <literal >classname.of.LoggerFactory, assembly</literal >
1118
+ </para >
1119
+ </entry >
1120
+ </row >
1094
1121
</tbody >
1095
1122
</tgroup >
1096
1123
</table >
You can’t perform that action at this time.
0 commit comments