4.2.2.42. LogFile

4.2.2.42.1. Synopsis

This tag allows you can separate log files per parent tags.

4.2.2.42.2. Options

Name Default Values Since version Context
LogFile /var/log/sftp_server.log path 0.95 Default,Group,IpRange,User,VirtualHost

4.2.2.42.3. Examples

In this example, we separate the default log location and a virtual host log location:

<Default>
    LogFile /var/log/sftp_server.log
</Default>

<VirtualHost www.example.com>
    LogFile /var/log/sftp/www.example.com.log
</User>