[horde] Preferences

Jan Schneider jan at horde.org
Thu Aug 19 05:59:23 PDT 2004


Zitat von Peter Russell <peterr at aidworld.org>:

> Hi,
>
> I'm afraid this is a bit of a newbie question, I don't have much
> experience with PHP.  I'm having a problem configuring Horde 2.2.5.
>
> In order to troubleshoot a problem with the LDAP preferences back end I
> want to be able to look at the logs.  There are two problems.
>
> 1.  There is another running version of Horde on this server.  They have
> both been logging into /tmp/horde.log (or have both been configured to,
> and the file does exist, see below).  I want to have my version log to a
> different file.  I have changed config/horde.php to have it log into
> /tmp/horde2.log.  However no file seems to be created.  I suspect that
> my changes are being ignored (and this may also be the problem with
> LDAP).  Is this likely to be the problem, and if so, is there some way
> to force the config file to be reread?

Configuration files (if not preference configurations) get reloaded with
each page request.

> 2.  I don't have the right permisions to view the log file that has been
> created, so I don't actually know if my version has been logging there.
> Is there a way to cause Horde to create log files with different
> permissions?  Perhaps with the "$conf['log']['params'] = array();"
> line?  I can't seem to find any documentation on this.

$conf['log']['params']['mode'] sets the umask as an integer (!) value.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php



More information about the horde mailing list