Quote:
Originally Posted by dragon123
I hope someone can help me. I'm trying to log some output of my kindlet, but I didn't get any log file. I tried two versions of my propertie file, but it didn't work. So what could be wrong? Is the propertie file not correct? In which directory it should be on the kindle?
|
My guess is that the properties file doesn't get read and your log4j logger isn't initialized at all. Have you any log4j experience? Sometimes it can be tricky to get it to output anything
In my HackedUpReaderKindlet I'm putting the log4j.properties into the same directory in the azw2 file as the other class files and I am loading it manually. You can have a look at it on github:
https://github.com/bhaak/HackedUpRea...erKindlet.java