You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/antora/modules/ROOT/pages/manual/configuration.adoc
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -349,7 +349,6 @@ The section must specify the `log4net.Config.Log4NetConfigurationSectionHandler,
349
349
350
350
The following is a simple example configuration file that specifies the correct section handler to use for the `log4net` section.
351
351
352
-
353
352
[source,xml]
354
353
----
355
354
<configuration>
@@ -427,6 +426,15 @@ The example shows how to embed configuration data in a .config file while allowi
427
426
Since the .NET config parser throws errors for unregistered elements, the `log4net` section is registered using `System.Configuration.IgnoreSectionHandler`.
428
427
This tells .NET to ignore the section, as it will be processed by log4net instead.
429
428
429
+
[#android]
430
+
== Android
431
+
432
+
Android does not support `.config` files.
433
+
434
+
Instead, you can set `AppSettings` values as environment variables for your process — this works only on Android.
435
+
436
+
You must also load the `log4net` configuration manually, for example by reading it from an XML file at runtime.
0 commit comments