What I'm suggesting is to decouple the logfile location, as done with other kinds of locations such as:

${karaf.home}
${karaf.base}
${karaf.data}
${karaf.etc}

and introduce an additional ${karaf.log} ($KARAF_LOG)

Currently, "${karaf.data}/log" (or $KARAF_DATA/log) occurs in several places:

./etc/org.ops4j.pax.logging.cfg
./bin/stop
./bin/start
./bin/status

With a KARAF_LOG, the location could be managed in one place (./bin/setenv).

On 11.03.2015 11:24, Achim Nierbeck wrote:
How about ${karaf.home}/log?

2015-03-11 11:00 GMT+01:00 Martin Lichtin <lich...@yahoo.com <mailto:lich...@yahoo.com>>:

    I was wondering about supporting configuring a specific location
    for the Karaf log files.
    There are use cases where these files must not be kept under the
    "data" directory.
    Could it be supported by use of a ${karaf.log} which defaults to
    ${karaf.data}/log ?




--

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master


Reply via email to