Sample Header Ad - 728x90

How can I enable AFP access logging on macOS server?

4 votes
1 answer
1560 views
I tried to turn on AFP access logging on macOS Server 5.6.1, but don't see any entries when accessing the volume from clients running macOS 10.13.5 My AFP settings list as serveradmin settings afp afp:maxGuests = -1 afp:afpTCPPort = 548 afp:clientSleepTime = 24 afp:replyCacheQuantum = 32 afp:maxConnections = -1 afp:sendGreetingOnce = no afp:reconnectTTLInMin = 1440 afp:clientSleepOnOff = yes afp:loginGreeting = "" afp:errorLogPath = "/Library/Logs/AppleFileService/AppleFileServiceError.log" afp:errorLogTime = 0 afp:activityLogTime = 7 afp:errorLogSize = 1000 afp:kerberosPrincipal = "afpserver/LKDC:SHA1.XXX@LKDC:SHA1.XXX" afp:recon1SrvrKeyTTLHrs = 168 afp:idleDisconnectOnOff = no afp:reconnectFlag = "no_admin_kills" afp:activityLog = yes afp:reconnectKeyLocation = "/private/etc/AFP.conf" afp:loginGreetingTime = 1315436086 afp:adminGetsSp = yes afp:fullServerMode = yes afp:idleDisconnectMsg = "" afp:updateHomeDirQuota = yes afp:serverStoppedTime = 1530836567 afp:activityLogPath = "/Library/Logs/AppleFileService/AppleFileServiceAccess.log" afp:authenticationMode = "standard_and_kerberos" afp:admin31GetsSp = no afp:shutdownThreshold = 3 afp:TCPQuantum = 1048576 afp:allowSendMessage = yes afp:idleDisconnectTime = 10 afp:loggingAttributes:logOpenFork = yes afp:loggingAttributes:logDelete = yes afp:loggingAttributes:logCreateDir = yes afp:loggingAttributes:logLogin = yes afp:loggingAttributes:logLogout = yes afp:loggingAttributes:logCreateFile = yes afp:tickleTime = 30 afp:specialAdminPrivs = no afp:noNetworkUsers = no afp:idleDisconnectFlag:adminUsers = yes afp:idleDisconnectFlag:registeredUsers = yes afp:idleDisconnectFlag:usersWithOpenFiles = yes afp:idleDisconnectFlag:guestUsers = yes afp:recon1TokenTTLMins = 10080 afp:guestAccess = yes afp:allowRootLogin = no afp:activityLogSize = 1000 afp:afpServerEncoding = 0 afp:createHomeDir = yes Looking at the specific text logs above in an editor and looking in console app, I can’t find any sort of obvious AFP service logging. What needs to get changed to log the date and time when an AFP share is accessed through this server?
Asked by Jonathan Bellieri (41 rep)
Jul 12, 2018, 07:06 AM
Last activity: Aug 20, 2019, 01:59 PM