Page 1 of 1

Adding additional disk allowed

PostPosted: Wed Jun 14, 2017 4:50 am
by jasim
Hi,

I want to add additional folder "/opt/log/" besides existing default folder "/var/log/". I found a entry for disk allowed on config.php

Code: Select all
$CFG['DiskAllowed'][] = "/var/log/";


But how can I add "/opt/log/" also here ?

Would appreciate any suggestion.

Regards

Re: Adding additional disk allowed

PostPosted: Mon Jun 19, 2017 4:23 pm
by alorbach
Just duplicate the line and edit the path.

Re: Adding additional disk allowed

PostPosted: Tue Jun 20, 2017 8:47 am
by jasim
Thanks for reply. I have added as per your suggestion and restarted apache service.

Code: Select all
# cat /var/www/html/log/config.php | grep DiskAllowed
$CFG['DiskAllowed'][] = "/var/log/";
$CFG['DiskAllowed'][] = "/opt/log/";

But logs from /opt/log aren't appearing on Log Analayzer. I have also tried with by commenting out the /var/log line. Still same result. Would appreciate any suggestion.