From 724237e2add09f60722c4bc968fe8b5f7fe66ec4 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Fri, 16 Nov 2012 09:51:34 +0100 Subject: [PATCH] doc: Update INSTALL file with instructions to configure log directory FEA: ItEr77S03Community --- INSTALL | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/INSTALL b/INSTALL index b6e6d163d..8c19363d7 100644 --- a/INSTALL +++ b/INSTALL @@ -308,6 +308,26 @@ folder under ``/var/log/tomcat6/`` with ``.war`` name. For example: Inside this new directory there will be two files (``libreplan.log`` and ``libreplan-error.log``) that will be rotated every day. +Configure log directory +~~~~~~~~~~~~~~~~~~~~~~~ + +Anyway if you want to set manually LibrePlan log path you will have to +configure ``JAVA_OPTS`` variable in your server. This variable is configured in +different files depending on the distribution: + +* Debian or Ubuntu: ``/etc/default/tomcat6`` +* Fedora or openSUSE: ``/etc/tomcat6/tomcat6.conf`` + +Where you will need to add the next line:: + + # Configure LibrePlan log directory + JAVA_OPTS="${JAVA_OPTS} -Dlibreplan-log-directory=/my/path/to/libreplan/log/" + +.. WARNING:: + + You have to be sure that the user running Tomcat (usually ``tomcat6``) has + permissions to write in the specified directory. + Fix printing in Debian Squeeze ------------------------------