Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is there a FTP log in Server 4.1.3?

How does one monitor login and file transfers to a Server 4.1.3 setup. I don't see anything in the logging related to FTP services (even within filesharing). I just need to see who logs in and what files they download from a directory. Does Apple Server not do this - do I need to get a third party FTP server application - if so, what is suggested?


thanks for any tips.

Mac Pro, OS X Yosemite (10.10.4), appler server 4.1.3

Posted on Nov 2, 2015 11:39 AM

Reply
Question marked as Best reply

Posted on Nov 12, 2015 11:12 PM

There is logging but it is not enabled by default. You need to enable it. The process I've used is as follows:


1: You must edit the following file:

/Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.ap ple.ftpserver.plist


Change the ProgramArguments section to look like the following:


<key>ProgramArguments</key>

<array>

<string>ftpd</string>

<string>-ll</string>

<string>-r</string>

<string>-n</string>

<string>-d</string>

<string>-c</string>

<string>/Library/Server/FTP/Config</string>

<string>-L</string>

<string>/var/log/ftpd.log</string>

</array>


2: Edit the logging system to capture debug information by editing:

/etc/asl.conf


Add the following line to the end of the file. Make sure the path to the log file is the same as defined above.


? [= Facility ftp] [<= Level debug] file /var/log/ftpd.log


3: Restart the server or restart syslogd to implement the change.


Reid

Apple Consultants Network

Author "El Capitan Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Author "El Capitan Server – Control & Collaboration" :: Exclusively available in Apple's iBooks Store

Author of Yosemite Server and Mavericks Server books

2 replies
Question marked as Best reply

Nov 12, 2015 11:12 PM in response to meisenmen

There is logging but it is not enabled by default. You need to enable it. The process I've used is as follows:


1: You must edit the following file:

/Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.ap ple.ftpserver.plist


Change the ProgramArguments section to look like the following:


<key>ProgramArguments</key>

<array>

<string>ftpd</string>

<string>-ll</string>

<string>-r</string>

<string>-n</string>

<string>-d</string>

<string>-c</string>

<string>/Library/Server/FTP/Config</string>

<string>-L</string>

<string>/var/log/ftpd.log</string>

</array>


2: Edit the logging system to capture debug information by editing:

/etc/asl.conf


Add the following line to the end of the file. Make sure the path to the log file is the same as defined above.


? [= Facility ftp] [<= Level debug] file /var/log/ftpd.log


3: Restart the server or restart syslogd to implement the change.


Reid

Apple Consultants Network

Author "El Capitan Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Author "El Capitan Server – Control & Collaboration" :: Exclusively available in Apple's iBooks Store

Author of Yosemite Server and Mavericks Server books

Is there a FTP log in Server 4.1.3?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.