Skip to content

[Android] How to get log output

Aleksandr Zatsepin edited this page Apr 5, 2018 · 11 revisions

In order to get logs from release you should:

  1. Go to the setting and enable logging - https://s.mail.ru/XbQo/hUGNG4wJD.
  2. All log files are located in the external storage of the app, i.e. /sdcard/Android/data/com.mapswithme.maps.pro.*/files/logs/ - https://s.mail.ru/rMCi/6FgSgfSMp.
  3. Besides the log folder, there you can find a zip archive. A log folder is zipped each time when the app goes to the background.

In the beta build, logging is enabled by default.

In the debug build, logs are written to the system logcat.

Important note: a max size of each log file is 3 mb. When limit is reached, the writing begins from the start.

Core messages are logged with MapsmeCore tag. Messages with log level INFO and higer are written into LogCat. Other messages are written either to file or completely into LogCat depending on a build type.

Clone this wiki locally