table of contents
PTLOG(5) | AFS File Reference | PTLOG(5) |
NAME¶
PtLog - Traces Protection Server operations
DESCRIPTION¶
The PtLog file records a trace of Protection Server (ptserver process) operations on the local machine and describes any error conditions it encounters.
If the PtLog file does not already exist in the /var/log/openafs directory when the Protection Server starts, the server process creates it and writes initial start-up messages to it.
The file is in ASCII format. Administrators listed in the /etc/openafs/server/UserList file can use the bos getlog command to display its contents. Alternatively, log onto the server machine and use a text editor or a file display command such as the UNIX cat command. By default, the mode bits on the PtLog file grant the required "r" (read) permission to all users.
The Protection Server records operations only as it completes them, and cannot recover from failures by reviewing the file. The log contents are useful for administrative evaluation of process failures and other problems.
The Protection Server can record messages at several levels of detail. By default, it records only very rudimentary messages. Specify the Protection Server -d <debug level> command line option to set the initial logging level when the Protection Server is started.
To increase the level of detail logged by a running Protection Server, issue the following command while logged onto the database server machine as the local superuser "root".
# kill -TSTP <ptserver_pid>
where <ptserver_pid> is the process ID of the vlserver process, as reported in the output from the standard UNIX ps command. To increase to the second and third levels of detail, repeat the command.
To disable logging, issue the following command.
# kill -HUP <ptserver_pid>
To decrease the level of logging, first completely disable it and then issue the "kill -TSTP" command as many times as necessary to reach the desired level.
SEE ALSO¶
UserList(5), bos_getlog(8), ptserver(8)
COPYRIGHT¶
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
2024-02-03 | OpenAFS |