Advertisement
Guest User

Untitled

a guest
Jun 10th, 2011
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. option requires an argument -- fUnrecognized Option
  2.  
  3. Usage: logcat [options] [filterspecs]
  4.  
  5. options include:
  6.  
  7. -s Set default filter to silent.
  8.  
  9. Like specifying filterspec '*:s'
  10.  
  11. -f <filename> Log to file. Default to stdout
  12.  
  13. -r [<kbytes>] Rotate log every kbytes. (16 if unspecified). Requires -f
  14.  
  15. -n <count> Sets max number of rotated logs to <count>, default 4
  16.  
  17. -v <format> Sets the log print format, where <format> is one of:
  18.  
  19.  
  20.  
  21. brief process tag thread raw time threadtime long
  22.  
  23.  
  24.  
  25. -c clear (flush) the entire log and exit
  26.  
  27. -d dump the log and then exit (don't block)
  28.  
  29. -t <count> print only the most recent <count> lines (implies -d)
  30.  
  31. -g get the size of the log's ring buffer and exit
  32.  
  33. -b <buffer> request alternate ring buffer
  34.  
  35. ('main' (default), 'radio', 'events')
  36.  
  37. -B output the log in binary
  38.  
  39. -C colored output
  40.  
  41. filterspecs are a series of
  42.  
  43. <tag>[:priority]
  44.  
  45.  
  46.  
  47. where <tag> is a log component tag (or * for all) and priority is:
  48.  
  49. V Verbose
  50.  
  51. D Debug
  52.  
  53. I Info
  54.  
  55. W Warn
  56.  
  57. E Error
  58.  
  59. F Fatal
  60.  
  61. S Silent (supress all output)
  62.  
  63.  
  64.  
  65. '*' means '*:d' and <tag> by itself means <tag>:v
  66.  
  67.  
  68.  
  69. If not specified on the commandline, filterspec is set from ANDROID_LOG_TAGS.
  70.  
  71. If no filterspec is found, filter defaults to '*:I'
  72.  
  73.  
  74.  
  75. If not specified with -v, format is set from ANDROID_PRINTF_LOG
  76.  
  77. or defaults to "brief"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement