[rules-users] FileLogger base dir with Drools running in JBoss

tdtappe tappe at transdata.net
Fri Jul 23 04:29:53 EDT 2010


Newbie question:

I run Drools 5.0.1 on a JBoss 5.1.

Via

KnowledgeRuntimeLogger logger =
KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "drools", 500);

I let Drools write a log file for me. But I don't like the directory to
which Drools write the log file.
On my developer's PC it's the bin-directory of JBoss, on our JBoss server
it's /usr/lib/cgi-bin
Especially the latter is the problem, because the user running jboss isn't
allowed to write to this path.

How can I configure the path in a way that it's for instance relative to
running jboss server (both: on my PC and on the server side).

--Heiko
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/FileLogger-base-dir-with-Drools-running-in-JBoss-tp989280p989280.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list