Vistas:

Behavior:
By default, Fulltext Server is writing huge amounts of log files. The amount and size of those files is not limited. If those files are not deleted manually regularly this can cause disk space problems on the hard disk where Fulltext Server is installed.

Solution:
Storage path and Logging Level of fulltext log files can be adapted. This is described in the following text.

Adapting of Fulltext log file location:
After installation of DocuWare Fulltext server the log files are stored to folder ...\DocuWare\Full-Text Server (x64)logs.
To change this path you have to make adaptions on 3 positions.

1. In folder ...\DocuWare\Full-Text Server\conf file logging.properties has to be adapted with a text editor as follows. Instead the 4 yellow marked positions in following text you can enter the path where you want the logs to be written to. Important is to use Forward Slashes instead Back Slashes, for example C:/Temp/Fulltext logs.

1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.

2localhost.org.apache.juli.FileHandler.level = FINE
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.prefix = localhost.

3manager.org.apache.juli.FileHandler.level = FINE
3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.FileHandler.prefix = manager.

4host-manager.org.apache.juli.FileHandler.level = FINE
4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
4host-manager.org.apache.juli.FileHandler.prefix = host-manager.

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

----------------------------------------------------------------------------------------------------------------------------------------------------------

2. Another change has to be done in file server.xml which can also be found in folder ...\DocuWare\Full-Text Server (x64)\conf.

At the end of the file you can find following section:

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
               prefix="localhost_access_log." suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" resolveHosts="false"/>


At directory="logs" you can enter a path where the log should be written to. Important is again to use Forward Slashes  (for example C:/Temp/Volltextlogs).

-----------------------------------------------------------------------------------------------------------------------------------------------------------

3. Additionally you have to run the file configdwtomcat.cmd which can be found in folder  ...\DocuWare\Full-Text Server (x64).
On tab "Logging"  the "Log path" must contain the same path like you entered in logging.properties file.
Here the path must be entered with Backslashes.

You can adapt the logging level in this dialog as well. To make the changes of the logging storage location work you have to restart DocuWare Fulltext Server.