Adding additional disk allowed

You need additional help with phplogcon, then write into this forum.

Google Ads


Adding additional disk allowed

Postby jasim » Wed Jun 14, 2017 4:50 am

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
jasim
New
 
Posts: 2
Joined: Wed Jun 14, 2017 4:38 am

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: Adding additional disk allowed

Postby alorbach » Mon Jun 19, 2017 4:23 pm

Just duplicate the line and edit the path.
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Re: Adding additional disk allowed

Postby jasim » Tue Jun 20, 2017 8:47 am

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.
jasim
New
 
Posts: 2
Joined: Wed Jun 14, 2017 4:38 am

Google Ads



Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron