How can I edit Directadmin scripting?

Aziz

Verified User
Joined
Oct 4, 2004
Messages
126
Hello,

I have just recently installed a firewall for my sever, I would like to have the ability to add the firewall logs to display in the Admin Log Viewer section.

I am sure its pretty easy and involves only a couple of lines to edit via scripting language (If I know which files I will do it myself).

I appreciate any directions.

Peace,
 
# cd /usr/local/directadmin/data/templates
# cp logs.list custom/
# cd custom

Now you want to open up logs.list and change it as you like. It's pretty straightforward:

Code:
/var/log/firewall/logfile.log=Firewall Logs

Copying it to the custom directory makes sure it doesn't get overwritten when you update DirectAdmin.
 
Back
Top