Global logs are stored in /usr/local/afs7/logs in subdirectories, with the following structure:
- Folder access contains visitors statistics logs:
- The click*.db files that are SQLite3 databases containing the logs of the clicks.
- The search*.db files that are SQLite3 databases containing every query returned by the query manager running on this server.
- The acp*.db files that are SQLite3 databases containing the logs of ACP queries.
- Folder agents contains QE agents logs (such as search, spellcheck, and so on). Log files are created in the current directory.
- Folder cgi contains (Fast) CGI servers error logs.
- Folder daemon contains AFS daemons logs (acp, logmanager, querymanager, pafmanager and so on). They are afs_*.log files containing time-stamped logs of starts and stops of the Daemon, and logs of actions performed during the start and stop (pid, kill of process, and so on). Daemons logs are automatically archived.
- When started, every daemon archives its own logs in a time-stamped directory (such as /usr/local/afs7/logs/daemon/<date>/).
- Logs of current day are left in /usr/local/afs7/logs/daemon.
- Logs older than n days are deleted (n is configurable using archiveDaemonLogs option and defaults to 10).
- An AFS v7 log is composed of the following files:
- The afs_*.log files contain the system logs for the AFS v7 Daemons (acp, logmanager and querymanager). They contain time-stamped logs of starts and stops of the Daemon, and logs of actions performed during the start and stop (pid, kill of process, and so on).
The logs belong to the AFS_USER user of the AFS_GROUP group.
These databases are not supposed to be opened with SQLite3. The Back Office provided by Antidot offers a smoother and more user-friendly access to the logs.
Every day the query manager is used, a file containing the log of the query and click is created.