Specifications

58 Chapter 3 AFP Service
The server closes the active log at the end of each archive period, renames it to include
the current date, and then opens a new log file.
You can keep the archived logs for your records or delete them to free disk space when
theyre no longer needed. The default setting is 7 days. Log files are stored in /Library/
Logs/AppleFileService. You can use the log rolling scripts supplied with Mac OS X
Server to reclaim disk space used by log files.
From the Command Line
You can also change the AFP service logging settings using the serveradmin
command in Terminal or by modifying the AFP preferences file. For more information,
see the file services chapter of the command-line administration guide.
Changing Idle User Settings
You use the Idle Users pane of Apple File Service settings to specify how your server
handles idle users. An idle user is someone who is connected to the server but whose
connection has been inactive a predefined period of time.
If a client is idle or asleep for longer than the specified idle time, open files are closed,
they are disconnected, and any unsaved work is lost.
To configure idle user settings:
1 Open Server Admin and select AFP in the Computers & Services list.
2 Click Settings (near the bottom of the window), then click Idle Users.
3 To allow client computers to reconnect after sleeping for a certain time, select Allow
clients to sleep __ hour(s)—will not show as idle and type the number of hours clients
can sleep and remain reconnected to the server.
4 To specify the idle time limit, select “Disconnect idle users after __ minutes and type
the number of minutes after which an idle computer should be disconnected.
A sleeping Mac OS X version 10.2 (and later) client will be able to resume work on open
files within the limits of the Allow clients to sleep setting.
5 To prevent particular types of users from being disconnected, select them under
“Except.”
6 In the “Disconnect Message” field, type the message you want users to see when they
are disconnected.
If you don’t type a message, a default message appears stating that the user has been
disconnected because the connection has been idle for a period of time.
7 Click Save.
From the Command Line
You can also change the AFP service idle user settings using the
serveradmin
command in Terminal or by modifying the AFP preferences file. For more information,
see the file services chapter of the command-line administration guide.