My question is simple: what to write into a log. Are there any conventions? What do I have to put in?
Since my app has to be released, I\'d like to have friendly log
A good idea is to look at log analysis software. Unless you plan to write your own, you will probably want to exploit an existing log analysis package such as Analog. If that is the case, you will probably want to generate a log output that is similar enough to the formats that it accepts. It will allow you to create nice charts and graphs with minimal effort!