[Tickets #13112] Re: syslog uses priority EMERG
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Apr 16 14:25:18 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13112
------------------------------------------------------------------------------
Ticket | 13112
Updated By | bastian-bugs.horde.org at t6l.de
Summary | syslog uses priority EMERG
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
bastian-bugs.horde.org at t6l.de (2014-04-16 14:25) wrote:
According to my local git repository which i also in use as the
current webspace, I am on origin/master:
{{{
horde at myhost:~/local/src/horde.git/framework$ git branch -v
* master d143ae4 Use Horde_Date's timezone alias capabilites when
importing events.
horde at myhost:~/local/src/horde.git/framework$ git log --graph -1
--decorate d143ae4
* commit d143ae4842c7a24741a8f08bce57ca5e879957b2 (HEAD,
origin/master, origin/HEAD, master)
| Author: Jan Schneider <jan at horde.org>
| Date: Thu Apr 10 11:47:33 2014 +0200
|
| Use Horde_Date's timezone alias capabilites when importing events.
horde at myhost:~/local/src/horde.git/framework$ git status .
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Log/lib/Horde/Log/Handler/Syslog.php
#
no changes added to commit (use "git add" and/or "git commit -a")
}}}
In irc ynuosh also stated that logging will be done via notice, but I
still get these messages to the consoles:
{{{
Message from syslogd at myhost at Apr 16 15:09:32 ...
HORDE: User is not authorized [pid 1477 on line 1502 of
"/home/horde/local/src/horde.git/framework/Core/lib/Horde/Registry.php"]
}}}
Right now I circumvent these messages via:
{{{
horde at tweddell:~/local/src/horde.git/framework$ git diff
Log/lib/Horde/Log/Handler/Syslog.php
diff --git a/framework/Log/lib/Horde/Log/Handler/Syslog.php
b/framework/Log/lib/Horde/Log/Handler/Syslog.php
index 89d7150..2f2ff48 100644
--- a/framework/Log/lib/Horde/Log/Handler/Syslog.php
+++ b/framework/Log/lib/Horde/Log/Handler/Syslog.php
@@ -53,7 +53,7 @@ class Horde_Log_Handler_Syslog extends
Horde_Log_Handler_Base
* @var array
*/
protected $_priorities = array(
- Horde_Log::EMERG => LOG_EMERG,
+ Horde_Log::EMERG => LOG_ALERT,
Horde_Log::ALERT => LOG_ALERT,
Horde_Log::CRIT => LOG_CRIT,
Horde_Log::ERR => LOG_ERR,
}}}
If I am completely wrong by using git branches, commits, checkouts,
please tell me.
More information about the bugs
mailing list