You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/11/28 00:10:49 UTC

[GitHub] [mynewt-newtmgr] ccollins476ad opened a new pull request #152: log show: Specify `-a` to get entire log

ccollins476ad opened a new pull request #152: log show: Specify `-a` to get entire log
URL: https://github.com/apache/mynewt-newtmgr/pull/152
 
 
   Normally, the `newtmgr log show` command only receives one packet's worth of log entries.
   
   This PR adds a `-a` option to this command.  When this option is specified, newtmgr continues requesting more data until it reaches the end of the log.
   
   This is slightly better than using a script to read an entire log because newtmgr will reuse the established BLE connection for its subsequent requests, making the process faster.
   
   Example usage:
   ```
   newtmgr --conntype oic_ble --connstring peer_name='nimble-bleprph' log show -a reboot_log
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services