[horde] Horde logs stuffed with foreign program logging info

Louis-Philippe Allard lp.allard.1 at gmail.com
Wed Jun 22 22:55:08 UTC 2011


Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>> Louis-Philippe Allard <lp.allard.1 at gmail.com> wrote:
>   >
>   >> Hello,
>   >>
>   >>   I know it will quite seems strange, but I discovered that logging
>   >> information from misc non horde related applications (such as
>   >> Zoneminder
>   >> (home surveillance framework)) are stored in Horde'a logs as well as in
>   >> the
>   >> Activesync logs.
>   >>
>   >> For example below, the Horde log is "contaminated" with zoneminder
>   >> info. 
>   >> Lines such as:
>   >>
>   >> [code]Jun 22 17:39:56 lhost2 zmc_dvideo0[2088]: INF [Monitor0: 32000 -
>   >> Capturing at 7.75 fps]
>   >> Jun 22 17:39:59 lhost2 zma_m4[2092]: INF [Monitor0: 32000 - Processing
>   >> at
>   >> 7.75 fps]
>   >>   Jun 22 17:42:09 lhost2 zmc_dvideo0[2088]: INF [Monitor0: 33000 -
>   >> Capturing at 7.52 fps]
>   >> Jun 22 17:42:12 lhost2 zma_m4[2092]: INF [Monitor0: 33000 - Processing
>   >> at
>   >> 7.52 fps]
>   >>   Jun 22 17:43:56 lhost2 sshd[3929]: Accepted password for root from
>   >> 192.168.0.106 port 49844 ssh2
>   >>   Jun 22 17:44:16 lhost2 zmc_dvideo0[2088]: INF [Monitor0: 34000 -
>   >> Capturing at 7.87 fps]
>   >> Jun 22 17:44:19 lhost2 zma_m4[2092]: INF [Monitor0: 34000 - Processing
>   >> at
>   >> 7.87 fps][/code]
>   >>
>   >>   What can cause applications to send info to the horde logs?  These
>   >> applications are NOT configured to send data to horde's logs and I
>   >> double
>   >> checked this.  They have their own logs.  TO me it looks like Horde is
>   >> using some way to retrieve the system dmesg or similar and then stores
>   >> to
>   >> its logs.
>   >>
>   >>   Can someone help?
>   >>
>   >>   Because of that, my active sync log is usually around 20MB which is
>   >> almost impossible to use for troubleshooting.
>   >>    
>   >> --
>   >> Horde mailing list
>   >> Frequently Asked Questions: http://horde.org/faq/
>   >> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>   >
>   > Are you sure horde isn't logging to syslog?
>   > --
>   > Mike
>   > Sent from mobile
>   > --
>   > Horde mailing list
>   > Frequently Asked Questions: http://horde.org/faq/
>   > To unsubscribe, mail: horde-unsubscribe at lists.horde.org
In $horde/config/conf.php

$conf['log']['name'] = '/var/log/horde.log'

and

$conf['acctivesync']['logging']['path'] = '/var/log/horde_activesync.log'


More information about the horde mailing list