idevicesyslog.1 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .TH "idevicesyslog" 1
  2. .SH NAME
  3. idevicesyslog \- Relay syslog of a connected device.
  4. .SH SYNOPSIS
  5. .B idevicesyslog
  6. [OPTIONS]
  7. .SH DESCRIPTION
  8. Relay syslog of a connected device.
  9. .SH OPTIONS
  10. .TP
  11. .B \-u, \-\-udid UDID
  12. target specific device by UDID
  13. .TP
  14. .B \-n, \-\-network
  15. connect to network device
  16. .TP
  17. .B \-x, \-\-exit
  18. exit when device disconnects
  19. .TP
  20. .B \-d, \-\-debug
  21. enable communication debugging
  22. .TP
  23. .B \-h, \-\-help
  24. prints usage information
  25. .TP
  26. .B \-v, \-\-version
  27. Prints version information.
  28. .TP
  29. .B \-\-no\-colors
  30. disable colored output
  31. .TP
  32. .B \-o, \-\-output FILE
  33. Write to FILE instead of stdout. This will disable writing colored output, but can be re-enabled with \f[B]\-\-colors\f[].
  34. If FILE already exists, it will be overwritten without warning.
  35. .TP
  36. .B \-\-colors
  37. Force writing colored output, e.g. when using \f[B]\-\-output\f[].
  38. .SH FILTER OPTIONS
  39. .TP
  40. .B \-m, \-\-match STRING
  41. only print messages that contain STRING
  42. This option will set a filter to only printed log messages that contain the given string.
  43. .TP
  44. .B \-t, \-\-trigger STRING
  45. start logging when matching STRING
  46. When specified, logging will start as soon as a log messages is encountered that contains the given string. See also
  47. \f[B]\-T, \-\-untrigger\f[]. Other filters are still applied but obviously filtered messages are only printed after logging has started.
  48. .TP
  49. .B \-T, \-\-untrigger STRING
  50. stop logging when matching STRING
  51. When specified logging will halt as soon as a log message is encountered that contains the given string. See also
  52. \f[B]\-t, \-\-trigger\f[]. Other filters are still applied but obviously filtered messages are only printed before logging stops.
  53. NOTE: If no \f[B]\-\-trigger\f[] is given, idevicesyslog will exit after a matching log message was encountered.
  54. .TP
  55. .B \-p, \-\-process PROCESS
  56. only print messages from matching process(es)
  57. PROCESS is a string that can either be a numeric pid or a process name. It also supports multiple process names or pids in one string, separated by | (make sure to use quotes!).
  58. .TP
  59. .B \-e, \-\-exclude PROCESS
  60. print all messages except matching process(es)
  61. PROCESS is a string that can either be a numeric pid or a process name. It also supports multiple process names or pids in one string, separated by | (make sure to use quotes!).
  62. .TP
  63. .B \-q, \-\-quiet
  64. set a filter to exclude common noisy processes
  65. Since the syslog can be quite noisy, this quick command line switch allows silencing a predefined set of commonly known processes. The list of processes that are silenced can be retrieved with \f[B]\-\-quiet\-list\f[].
  66. .TP
  67. .B \-\-quiet\-list
  68. prints the list of processes for \f[B]\-\-quiet\f[] and exits
  69. .TP
  70. .B \-k, \-\-kernel
  71. only print kernel messages
  72. This is actually equivalent to passing \f[B]\-\-process kernel\f[] with the exception that it can be used with \f[B]\-\-quiet\f[] to silence out the noisy process but still get all the kernel log messages.
  73. .TP
  74. .B \-K, \-\-no\-kernel
  75. suppress kernel messages
  76. This is equivalent to passing \f[B]\-\-exclude kernel\f[].
  77. .SH EXAMPLES
  78. .TP
  79. .B idevicesyslog \-u 00008030\-0000111ABC000DEF
  80. Relay syslog of device with UDID 00008030-0000111ABC000DEF.
  81. .TP
  82. .B idevicesyslog \-x
  83. Relay syslog of device and exit when the device is unplugged.
  84. .TP
  85. .B idevicesyslog \-m '####' \-e 'identityservicesd' \-K
  86. Only print log messages that contain the string #### and do NOT originate from identityservicesd or the kernel.
  87. .TP
  88. .B idevicesyslog \-p MyApp \-p ReportCrash
  89. Only print log messages from the process named 'MyApp' and 'ReportCrash'.
  90. .TP
  91. .B idevicesyslog \-p 'MyApp|ReportCrash'
  92. Same as previous example with different syntax.
  93. .TP
  94. .B idevicesyslog \-e 'backboardd|CommCenter|mDNSResponder'
  95. Suppress log messages from backboardd, CommCenter, and mDNSResponder.
  96. .TP
  97. .B idevicesyslog \-q \-k
  98. Suppress log messages from common noisy processes, but DO print kernel log messages.
  99. .TP
  100. .B idevicesyslog \-K
  101. Suppress log messages from kernel, but print everything else
  102. .TP
  103. .B idevicesyslog \-t 'backlight on' \-T 'backlight off' \-q
  104. Start logging when the device turns on backlight and stop logging when it turns backlight off, and suppress noisy processes
  105. .SH AUTHORS
  106. Nikias Bassen, Martin Szulecki
  107. Man page written to conform with Debian by Julien Lavergne.
  108. .SH ON THE WEB
  109. https://libimobiledevice.org
  110. https://github.com/libimobiledevice/libimobiledevice