ADLINK Knowledge Base ADLINK Knowledge Base

  • Home
  • Vortex DDS
  • Vortex OpenSplice
  • Vortex Tools and Licensing
  • ADLINK Edge
  • Spectra SDR
  • Contact Support
Home / ADLINK DDS, Vortex Cafe, Vortex Tools and Licensing / How to get verbose logs in LogCat

How to get verbose logs in LogCat

In slf4j-android the default level of any tag is set to INFO. This means that any level above and including INFO will be logged. You can change the default level by setting a system property:  setprop log.tag.<YOUR_LOG_TAG> <LEVEL>. Where:

  • <YOUR_LOG_TAG> is the name of your logger. E.g: iShapes.Painter, cafe.ddsi.net, etc.
  • <LEVEL> is either VERBOSE, DEBUG, INFO, WARN, ERROR, ASSERT, or SUPPRESS. SUPPRESS will turn off all logging for your tag.

E.g: to enable debug level with cafe.ddsi.net logger on Nexus 7, this command should be run:

  • adb shell setprop log.tag.cafe.ddsi.net DEBUG

You can also get verbose logs on your android device by creating a local.prop file that should be placed in /data/ folder of the Android device (need to be root to create the file). Inside local.prop, put this line:

  • log.tag.<YOUR_LOG_TAG>=<LEVEL> (with the replacement described above)
  • E.g: to enable debug level with iShapes.Painter logger on Nexus 7, add this line to /data/local.prop file:
    • log.tag.iShapes.Painter=DEBUG

Related

Vortex CafeJavadebugandroidlogsverbose ADLINK DDSVortex CafeVortex Tools and Licensing
twitter logo facebook logo linkedin logo slideshrare logo
Blog News and Events
adlink logo
Copyright © 2020 ADLINK Technology Inc. All Rights Reserved