FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2837846402
Thanks for the confirmation.
I will provide a pull request to fix the warning / error message on android.
--
This is an automated message from the Apache Git Service.
T
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2837798258
Thanks very much. Making the app as embedded resource works for me.
The fully quallified name though works on the android emulator did not work
on the real android
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2836185059
You can read the log4net config from an embedded resource:
[MauiApp5.zip](https://github.com/user-attachments/files/19947025/MauiApp5.zip)
This way (and changing the
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2835722661
As directly giving the fully quallified path in xml wont work in maui, I
think I will need to provide this somehow through the code which I need to
figure out, If I dont g
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2835684895
Can you fully qualify the file name in the xml file?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and us
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2835662862
I see maui.log is the value , I dont see this file being created in the
Android device or the emulator.
--
This is an automated message from the Apache Git Service.
To r
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2835359900
I have no android device for testing.
You can adjust the path of the log file (for testing full qualified) in
log4net.xml (log4net/appender(FileAppender)/file.value
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2835244532
> You need to use xml (config) files for android. log4net supports xml files
on all plattforms.
>
> See the attached example.
>
>
[MauiApp4.zip](https://gith
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2835021043
You need to use xml (config) files for android.
log4net supports xml files on all plattforms.
See the attached example.
[MauiApp4.zip](https://github.com/us
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2834897320
Thank you for the response. I also tried using this zip file.
The code runs perfectly fine when executed on the Windows machine in Visual
Studio, but the exception o
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2832544472
Your app runs fine on my PC (Win11 24H2 / VS 17.13.6).
For another test I have added a file appender and moved from
BasicConfigurator to XmlConfigurator.
```
2025-0
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831913570
Here is the zip file, There are just very minor changes from the basic MAUI
app created in visual studio.
[MauiAppLog4net.zip](https://github.com/user-attachments/f
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831462348
Can you zip your test project and post it here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831389576
I am using MAUI with dotnet 9, there is no app.config file,
From what I understand from here app.config is a older style
https://learn.microsoft.com/en-us/answers/qu
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831434965
I tried adding the app.config file still I see the Exception
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitH
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831420823
You just add a config file via "Add ..." and paste the content from
https://github.com/apache/logging-log4net/issues/153#issuecomment-2831126224
--
This is an automated m
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831319275
This is a valid log4net configuration, but not a valid app.config.
Can you add a configuration element and a config section element?
--
This is an automated message fro
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831300387
Do i need a config file in BasicConfigurator.Configure();, I was using
BasicConfigurator.Configure() to make the reproducer minimal so for this case I
did not use a con
FreeAndNil commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2831117105
@arunjose696 can you post your config file?
Sometimes `Check your .config file is well formed XML.` means your config
file is not well formed ;-)
--
This is an aut
arunjose696 commented on issue #239:
URL:
https://github.com/apache/logging-log4net/issues/239#issuecomment-2830629532
@FreeAndNil any suggestions?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go t
20 matches
Mail list logo