[Tickets #10407] Changing log type from file doesn't work

bugs at horde.org bugs at horde.org
Wed Aug 3 10:49:25 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10407
------------------------------------------------------------------------------
  Ticket             | 10407
  Created By         | jacob-horde at vindvejr.dk
  Summary            | Changing log type from file doesn't work
  Queue              | Horde Base
  Version            | 4.0.8
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


jacob-horde at vindvejr.dk (2011-08-03 10:49) wrote:

In horde4/config/conf.php I have these settings:

$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['params']['format'] = 'default';
$conf['log']['type'] = 'file';

Using the Horde configuration under tab "Logging" I now change the  
type from "File" to "Syslog", which will produce the following conf.php:

$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = /tmp/horde.log;
$conf['log']['type'] = 'syslog';

This breaks the configuration, since the filename isn't surrounded by  
''. The GUI insists that filename is required, even though the log  
type is now "Syslog". Therefore you have to manually delete the line  
$conf['log']['name'] from conf.php in order the get the installation  
to work again.






More information about the bugs mailing list