karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-3042) Add a variable (false by default) to enable redirect to karaf.out
Date Fri, 11 Jul 2014 19:25:05 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet updated KARAF-3042:
-----------------------------------

    Issue Type: Improvement  (was: Bug)

> Add a variable (false by default) to enable redirect to karaf.out
> -----------------------------------------------------------------
>
>                 Key: KARAF-3042
>                 URL: https://issues.apache.org/jira/browse/KARAF-3042
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>
> Using bin/start to start Karaf means that the System.out/System.err are redirected to
data/karaf.out.
> The problem is that this redirection is by default (so the users may not know about the
karaf.out file) and there is not rotation or so on this file: it means that, in production,
it keeps on growing:
> {code}
> exec "$KARAF_HOME"/bin/karaf server "$@" >> "$KARAF_DATA/karaf.out" 2>&1
&
> {code}
> It would be great to send to /dev/null by default, and add a variable to enable the redirect
(in karaf.out or any file defined by the user).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message