To turn on or turn off error logging, select Modify Server Configuration from the Admin GUI.
To have information about any errors that occur on the documentation server written into the error log file, click on the button next to on, then click on Apply. The default location for this file is /var/log/ab2/logs/errors-8888.log.
To stop having information written into the error log file, click on the button next to off, then click on Apply.
You can also use the following commands to perform these functions:
% /usr/lib/ab2/bin/ab2admin -o error_on [-m server_name] [-p server_port] |
% /usr/lib/ab2/bin/ab2admin -o error_off [-m server_name] [-p server_port] |
After you change the logging function, you must stop and start the documentation server. Log in as root on the server machine and type the following commands:
# /usr/lib/ab2/bin/ab2admin -o stop # /usr/lib/ab2/bin/ab2admin -o start |