doc: Update INSTALL file with instructions to configure log directory
FEA: ItEr77S03Community
This commit is contained in:
parent
93ff80a1d3
commit
724237e2ad
1 changed files with 20 additions and 0 deletions
20
INSTALL
20
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
|
||||
------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue