Details
Description
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:
exec "$KARAF_HOME"/bin/karaf server "$@" >> "$KARAF_DATA/karaf.out" 2>&1 &
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).