[Tickets #10407] Re: Changing log type from file doesn't work
bugs at horde.org
bugs at horde.org
Thu Aug 4 08:59:49 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10407
------------------------------------------------------------------------------
Ticket | 10407
Updated By | Jan Schneider <jan at horde.org>
Summary | Changing log type from file doesn't work
Queue | Horde Base
Version | 4.0.8
Type | Bug
State | Not A Bug
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2011-08-04 08:59) wrote:
> 1) Clear $conf[log][name]. This avoids users leaving a filename
> there when changing from File to Syslog. On the other hand, when
> changing from File to Syslog and back again, you'll lose the filename.
This is not possible. The complete configuration parsing and updating
is automated, you cannot simply add some random behavior change for
one setting.
> 2) User another variable ($conf[log][syslog] or something). This
> avoids the problem, and makes it possible to keep the
> filename/syslog facility when changing between the different log
> types.
This would be a backward compatibility break, and also breaking
configuration compatibility with PEAR's Log package (which is less
important though).
More information about the bugs
mailing list