4.2.2.43. LogFile¶
4.2.2.43.1. Synopsis¶
This tag allows you can separate log files per parent tags.
4.2.2.43.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.43.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>