logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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 bosgetlog 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 <debuglevel> 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.

Name

PtLog - Traces Protection Server operations

See Also

UserList(5), bos_getlog(8), ptserver(8)

See Also