karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Leschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5260) log:tail default should start at the end of the file
Date Thu, 20 Jul 2017 20:11:01 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16095290#comment-16095290

Scott Leschke commented on KARAF-5260:

When I created the issue, I wasn't aware that it took the -n option. In retrospect, I would
simply have suggested that the no option version of the command, log:tail, default to using
-n 1 rather than -n 0 which tails the whole file.

> log:tail default should start at the end of the file
> ----------------------------------------------------
>                 Key: KARAF-5260
>                 URL: https://issues.apache.org/jira/browse/KARAF-5260
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.1
>         Environment: Windows 7
>            Reporter: Scott Leschke
>            Assignee: Christian Schneider
>            Priority: Minor
>             Fix For: 4.2.0, 4.1.2
> I would suggest that the default for the log:tail command refrain from dumping the entire
contents of the log file to the console prior to tailing and rather just start tailing at
the end of the file.  Given the general use of the command, having all the prior log statements
written to the console every time the command is used is not helpful.

This message was sent by Atlassian JIRA

View raw message