You can view a log of synchronization activity on your Novell iFolder servers to help debug problems.
To enable or disable logging:
If you are not logged in, go to the iFolder Management Console, click Global Settings, enter your administrator username and password, then click login. For details, see Logging In to the iFolder Management Console.
From the iFolder Management Console, click Global Settings > Global Policies.
Click Display Server Policies.
Check the Debug Output check box to enable logging. Uncheck the Debug Output check box to disable logging.
Click Update Server Policies.
To view the log, use one of the following methods, depending on the server operating system and the version of iFolder you use:
You can view all of the synchronization activity on each NetWare server when you click Debug Output. The log information is output to the Apache screen located on each iFolder server.
Create a logs directory at c:\inetpub\wwwroot\iFolder\DocumentRoot.
In the Windows Registry, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\iFolderServer, then add the following line:
ifolderserverlogging c:\inetpub\wwwroot\iFolder\DocumentRoot\logs\index.html
To access the log, in a Web browser, enter the DNS name or IP address of your iFolder server, followed by the directory and filename.
For example, http://nif1.your-domain-name.com/logs/index.html, where nif1.your-domain-name.com is the actual DNS name or IP address of your iFolder server.
To set permissions for the logs directory to allow Apache to create and write a file for logging, at the server console prompt, enter the following command:
chmod 760 /usr/local/apache2/ifolder/DocumentRoot/logs
Edit the /usr/local/apache2/iFolderServer/httpd_ifolder_unix.conf file by adding the following directive to the end of the Virtual Hosts sections for both port 80 and port 443:
iFolderServerLogging “/usr/local/apache2/ifolder/DocumentRoot/logs/index.html”
This allows iFolder to create the index.html file in the /usr/local/apache2/ifolder/DocumentRoot/logs directory and to write the synchronization activity for the iFolder server to it.
Restart your Apache server by entering the following commands at the server console:
/etc/init.d/httpd stop
/etc/init.d/httpd start
To access the iFolder log, do one of the following:
For example, go to the URL http://nif1.your-domain-name.com/logs/index.html, where nif1.your-domain-name.com is the actual DNS name or IP address of your iFolder server.
tail -f pathandfilename
For example,
tail -f /usr/local/apache2/ifolder/DocumentRoot/logs/index.html
To create and set permissions for a directory where the log file resides, at the server console prompt, enter the following commands:
mkdir /var/opt/novell/ifolder/DocumentRoot/logs
chmod 760 /var/opt/novell/ifolder/DocumentRoot/logs
chown novlwww /var/opt/novell/ifolder/DocumentRoot/logs
Edit the /etc/opt/novell/ifolder/httpd_ifolder_unix.conf file by adding the following directive to the end of the file:
iFolderServerLogging “/var/opt/novell/ifolder/DocumentRoot/logs/index.html”
This allows iFolder to create the index.html file in the /var/opt/novell/ifolder/DocumentRoot/logs directory and to write the synchronization activity for the iFolder server to it.
Restart your Apache server by entering the following commands at the server console:
/etc/init.d/novell-httpd stop
/etc/init.d/novell-httpd start
To access this information, do one of the following:
For example, go to the URL http://nif1.your-domain-name.com/logs/index.html, where nif1.your-domain-name.com is the actual DNS name or IP address of your iFolder server.
tail -f pathandfilename
For example,
tail -f /var/opt/novell/ifolder/DocumentRoot/logs/index.html