ironjan / MensaUPB

Oldest (and probably: most unmaintained) mensa app for the university of Paderborn.

Home Page:http://ironjan.de/category/all/projects/mensaupb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add viewable/sendable log

ironjan opened this issue · comments

Based on #99 it would be nice if there was a viewable application log somewhere.

This log should contain the most important events:

  • sync start/end
  • sync errors
  • crashes/errors
  • important events (switching allergens on/off etc.)

https://code.google.com/p/android-logging-log4j/ <- seems to be the solution.

Above code configures the log4j system with some default settings e.g.

  • file appender and LogCat appender
  • rotating logs and corresponding backup files and file sizes
  • default log output pattern

Perhaps com.noveogroup.android:android-logger would need to be replaced.

It seems that the library mentioned above is not maintained anymore.