[ 
https://issues.apache.org/jira/browse/MYNEWT-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15765686#comment-15765686
 ] 

ASF subversion and git services commented on MYNEWT-516:
--------------------------------------------------------

Commit b907f98431b021be6e84d63aa46d6d75f9b731b8 in incubator-mynewt-core's 
branch refs/heads/develop from [~peterfs]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=b907f98 
]

MYNEWT-516: add "last" keyword to newtmgr protocol

mynewt interprets a "-1" for the timestamp of a log read request to mean that 
only the last log entry is requested. This is passed to the appropriate log 
implementation and the last record is passed back over the nmgr connection.


> add "last" flag to logs show <log-name> command in newtmgr
> ----------------------------------------------------------
>
>                 Key: MYNEWT-516
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-516
>             Project: Mynewt
>          Issue Type: Improvement
>          Components: Newtmgr, OS
>    Affects Versions: v0_8_0_beta1
>            Reporter: Peter Snyder
>            Assignee: Peter Snyder
>            Priority: Critical
>             Fix For: v0_8_0_beta2
>
>
> It's a pain to go through successive calls to show log in order to simply 
> read the last log record. Add a "last" keyword to be used in place of a 
> timestamp which simply returns the last record of the specified log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to