Hi,
I have a problem where I am trying to use Log4jMini as a part of my J2ME application running on an N91 but i am having loads of problems trying to get it to work.
I have searched everywhere and there is little or no documentation on log4jMini and there is no mention of it on these forums either.
The problems i am having are I think due to library issues and im not totally sure that this will work in Symbian.
Can anyone advise if they have any experience with this from before please?
Also, below is some of the code I am using and it compiles fine but the application crashes out when I run the application on my phone.
It is only this code as if I remove it, the application runs fine.
Basically, what this code should do it just write one log entry "Awake awake" to a log file when the application first startsCode:import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; . . . public class ILCMidlet extends MIDlet implements..... . . static Logger cat = Logger.getInstance(ILCMidlet.class.getName()); . . public ILCMidlet() . . PropertyConfigurator.configure(configFile); cat.info("Awake awake."); }
Any help would be greatly appreciated,
Thanks,
Seamus

Reply With Quote

