karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6258) Do not print error for user interrupted script
Date Sun, 05 May 2019 11:25:00 GMT

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

ASF subversion and git services commented on KARAF-6258:
--------------------------------------------------------

Commit 771898b31fec543da9afc28a04db344ba86fa96c in karaf's branch refs/heads/karaf-4.2.x from
Lars Kiesow
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=771898b ]

[KARAF-6258] Do not print error for user interrupted script

Karaf allows for the usage of commands like `log:tail` in
`etc/shell.init.script` which is handy for example for a development
assembly. But if such a command is canceled by a user (e.g. by hitting
Ctrl+C) an error message is logged and printed to stderr, claiming an
error in the initialization script.

While keeping the debug logging, this patch suppresses the stderr
message on user interrupts.


> Do not print error for user interrupted script
> ----------------------------------------------
>
>                 Key: KARAF-6258
>                 URL: https://issues.apache.org/jira/browse/KARAF-6258
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.2
>            Reporter: Lars Kiesow
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.3.0, 4.2.6
>
>
> Karaf allows for the usage of commands like `log:tail` in `etc/shell.init.script` which
is handy for example for a development assembly. But if such a command is canceled by a
user (e.g. by hitting Ctrl+C) an error message is logged and printed to stderr, claiming an
error in the initialization script.
> While the debug logging might still be handy, it would be nice to not have the stderr
message on user interrupts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message