To turn on or turn off access logging, select Modify Server Configuration from the Admin GUI.
To have information about who is accessing information on the documentation server written into the access log file, click on the button next to on, then click Apply. The default location for this file is /var/log/ab2/logs/access-8888.log.
To stop having information written into the access log file, click on the button next to off, then click Apply.
You can also use the following commands to perform these functions:
% /usr/lib/ab2/bin/ab2admin -o access_on [-m server_name] [-p server_port] |
% /usr/lib/ab2/bin/ab2admin -o access_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 |