[horde] Debug & Active Sync Logging handler error

Michael J Rubinsky mrubinsk at horde.org
Tue Dec 20 14:10:11 UTC 2011


Quoting Martin Hochreiter <linuxbox at wavenet.at>:

> Active Sync - Debug logging not working
>
> If I set in horde - conf.php
> $conf['log']['priority'] = 'DEBUG';
> $conf['activesync']['logging']['path'] = '/var/log/hordeactivesync.log';
> $conf['activesync']['logging']['type'] = 'custom';
>
> file permissions:
> ls -lah /var/log/
> -rwxrwxrwx  1 www-data adm       0 2011-06-27 12:31 hordeactivesync.log
> -rwxrwxrwx  1 www-data adm    9,0M 2011-12-20 14:14 horde.log


With the latest release of Horde, ActiveSync "custom" logs attempt to  
create device specific log files (it's near impossible to follow a  
debug log file if more than one device is logged to it). This means  
the webserver needs to be able to create files in the same directory  
(/var/log/ in your case). In the release there is a bug that causes  
the sync to fail if it cannot create the file. This has since been  
fixed in Git to correctly fall back to putting all device logs in the  
specified filename.


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org


More information about the horde mailing list