[imp] smime support in Horde 4.0
Nikolaos Milas
nmilas at noa.gr
Fri Dec 23 16:32:48 UTC 2011
On 23/12/2011 5:26 μμ, Simon Brereton wrote:
> Okay, but previously your Horde logs wouldn't have had a specific
> error because ssl wasn't configured. Does it now?
Thanks Simon,
No, nothing pertinent is logged.
By the way, I have:
$conf['log']['type'] = 'syslog';
$conf['log']['name'] = LOG_USER;
and this fills my /var/log/messages with horde logging.
Can we configure in Horde a particular syslog facility, like local6, so
I can direct logging to a particular file?
I tried adding in syslog.conf:
local6.* /var/log/horde.log
and then configuring:
$conf['log']['name'] = 'local6';
but this caused the following error (see below).
It also caused a syslog error:
vmail httpd: [horde] Unable to open syslog [pid 24818 on line 117 of
"/usr/share/pear/Horde/Log/Handler/Syslog.php"]
and:
Dec 23 18:11:55 vmail httpd: [horde] PHP ERROR: openlog() expects
parameter 3 to be long, string given [pid 24818 on line 116 of
"/usr/share/pear/Horde/Log/Handler/Syslog.php"]
================ Horde Error ================
A fatal error has occurred
Unable to open syslog
1. Horde::logMessage() /var/www/html/webmail2/login.php:115
2. Horde_Core_Log_Logger->log() /usr/share/pear/Horde.php:93
3. Horde_Log_Logger->log() /usr/share/pear/Horde/Core/Log/Logger.php:130
4. Horde_Log_Handler_Base->log() /usr/share/pear/Horde/Log/Logger.php:193
5. Horde_Log_Handler_Syslog->write() /usr/share/pear/Horde/Log/Handler/Base.php:69
6. Horde_Log_Handler_Syslog->_initializeSyslog() /usr/share/pear/Horde/Log/Handler/Syslog.php:78
Details
The full error message is logged in Horde's log file, and is
shown below only to administrators. Non-administrative users
will not see error details.
Horde_Log_Exception Object
(
[details] =>
[message:protected] => Unable to open syslog
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/pear/Horde/Log/Handler/Syslog.php
[line:protected] => 117
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /usr/share/pear/Horde/Log/Handler/Syslog.php
[line] => 78
[function] => _initializeSyslog
[class] => Horde_Log_Handler_Syslog
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /usr/share/pear/Horde/Log/Handler/Base.php
[line] => 69
[function] => write
[class] => Horde_Log_Handler_Syslog
[type] => ->
[args] => Array
(
[0] => Array
(
[level] => 5
[message] => [horde] User nmilas [xxx.xxx.xxx.xxx] logged out of Horde [pid 24818 on line 115 of "/var/www/html/webmail2/login.php"]
[levelName] => NOTICE
[timestamp] => 2011-12-23T18:11:55+02:00
)
)
)
[2] => Array
(
[file] => /usr/share/pear/Horde/Log/Logger.php
[line] => 193
[function] => log
[class] => Horde_Log_Handler_Base
[type] => ->
[args] => Array
(
[0] => Array
(
[level] => 5
[message] => [horde] User nmilas [xxx.xxx.xxx.xxx] logged out of Horde [pid 24818 on line 115 of "/var/www/html/webmail2/login.php"]
[levelName] => NOTICE
[timestamp] => 2011-12-23T18:11:55+02:00
)
)
)
[3] => Array
(
[file] => /usr/share/pear/Horde/Core/Log/Logger.php
[line] => 130
[function] => log
[class] => Horde_Log_Logger
[type] => ->
[args] => Array
(
[0] => Array
(
[level] => 5
[message] => [horde] User nmilas [xxx.xxx.xxx.xxx] logged out of Horde [pid 24818 on line 115 of "/var/www/html/webmail2/login.php"]
)
)
)
[4] => Array
(
[file] => /usr/share/pear/Horde.php
[line] => 93
[function] => log
[class] => Horde_Core_Log_Logger
[type] => ->
[args] => Array
(
[0] => User nmilas [xxx.xxx.xxx.xxx] logged out of Horde
[1] => NOTICE
[2] => Array
(
[trace] => 2
)
)
)
[5] => Array
(
[file] => /var/www/html/webmail2/login.php
[line] => 115
[function] => logMessage
[class] => Horde
[type] => ::
[args] => Array
(
[0] => User nmilas [xxx.xxx.xxx.xxx] logged out of Horde
[1] => NOTICE
)
)
)
[previous:Exception:private] =>
)
======================================================
More information about the imp
mailing list