[Tickets #10407] Re: Changing log type from file doesn't work
bugs at horde.org
bugs at horde.org
Thu Aug 4 08:44:53 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 | jacob-horde at vindvejr.dk
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 |
------------------------------------------------------------------------------
jacob-horde at vindvejr.dk (2011-08-04 08:44) wrote:
> It's not a filename, it's a syslog facility. It just happens to use
> the same configuration name, that's why the old value is used.
Ooops, sorry, hadn't seen that. However, I still think it's a bug,
since it's possible to corrupt the configuration by mistake. At least
it's not really user-friendly. It would be better to do one of the
following when changing type to syslog:
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.
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.
More information about the bugs
mailing list