Can we create log files in mendix using log4j

0
I am using log4j in mendix but unable to create external files.I know about logging module but i want to display my own messages in logs in java actions and want to generate in external files
asked
2 answers
2

I think your best road would be to create Mendix filedocuments. This way the user does not even have to leave his app to retrieve the logs. You will find some posts in the forum on how to create Mendix filedocuments in Java actions.

Regards,

Ronald

[EDIT]

The logs can be found in your sprintr environment. But depending on what you are trying to achieve you could also look at this app: https://appstore.home.mendix.com/link/app/159/eMagiz/Logging-Module

 

answered
2

You can use the logger provided by Mendix: Core.getLogger(...).info()

answered