karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (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 13:02:00 GMT

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

Christian Schneider commented on KARAF-5260:
--------------------------------------------

log:tail only shows the n last log entries. Still sometimes it looks like it shows masses
of log data. This is when you have stack traces in the log. A full stack trace only counts
as one line currently. I think a good enhancement would be to change the logic to really only
show n lines instead of n log records. I can look into that.

> 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: Jean-Baptiste Onofré
>            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
(v6.4.14#64029)

Mime
View raw message