[horde] Custom log file for Horde instead of SYSLOG

Vilius Sumskas vilius at lnk.lt
Mon Jun 12 11:26:21 UTC 2017


> Am 11.06.2017 um 15:37 schrieb balia:
> > Hello,
> >
> > I have set horde logging to 'DEBUG' but I don't want all the horde messages
> to go to SYSLOG.
> > Instead I want horde to log to a custom log file such as /var/log/horde.log
> >
> > I have modified conf.php as follows:
> >
> > $conf['log']['priority'] = 'DEBUG';
> > $conf['log']['ident'] = 'HORDE';
> > // $conf['log']['name'] = LOG_USER;
> > $conf['log']['name'] = "/var/log/horde.log";
> > //$conf['log']['type'] = 'syslog';
> > $conf['log']['type'] = 'file';
> > $conf['log']['enabled'] = true;
> > $conf['log_accesskeys'] = false;
> > $conf['log']['params']['append'] = true;
> >
> > But all the log messages still go to SYSLOG.
> > What is missing?
> > Thank you.
> 
> 
> Hello,
> 
> as Mike already said: looks good.
> I just checked I've similar settings...
> 
> so: /should/ work. Did route reload your php engine?
> If running inside apache, the webserver may need a reload...

And don't forget to give permissions for your php/apache to write to that file.

-- 
   Best Regards,

   Vilius



More information about the horde mailing list