Fwd: Alternative log dir

Peter Hansson <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAC55jYPx8oSd01mVxYdRkr27gu0n98jFDTiS1V8QtnyvDwPb8w@mail.gmail.com>
I managed to post this to the wrong mailing list originally. Hope someone
has an idea.

---------- Forwarded message ----------
From: Peter Hansson <[email protected]>
Date: Thu, Jan 28, 2016 at 5:05 PM
Subject: Alternative log dir
To: [email protected]



Can the log dir be moved to an alternative location while retaining the NB
Platform's default logging mechanism ?

I'm aware the user dir as a whole can be moved. My question is specifically
about log dir.

From an operational point of view it makes sense for an application to
differentiate between configuration data (= permanent data) and temporary
data like log files.

I've looked into the source (TopLogging.java) and it seems the location is
hardcoded to <userdir>/var/log but I'm curious if others have had to deal
with the same issue ?

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.