Change format /var/log/httpd/domains/domain.com.log

dsouza

New member
Joined
Jun 19, 2020
Messages
3
Hello,

I'd like to change the format that DirectAdmin save the access_log for a only one file.

Because I need to filter logs with fail2ban and in default mode is openning many files for being a log file for each domain.

Is it possible? How can I proceed?
 
Follow this guide to create a custom template. Then change CustomLog to whatever you want. OR you can add another CustomLog that way you have both.
 
Back
Top