[horde] Horde logs stuffed with foreign program logging info

Louis-Philippe Allard lp.allard.1 at gmail.com
Sun Jun 26 01:29:33 UTC 2011


Quoting Ralf Lang <lang at b1-systems.de>:
>> Am Donnerstag, 23. Juni 2011, 13:38:22 schrieb Louis-Philippe Allard:
>   >> Quoting Jan Schneider <jan at horde.org>:
>   >> >> Zitat von Louis-Philippe Allard <lp.allard.1 at gmail.com>:
>   >> >   >> 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'
>   >> >
>   >> >   > This doesn't say anything about the logger *type*.
>   >> >   >
>   >> >   > Jan.
>   >>
>   >> The $horde/config/conf.php has
>   >>
>   >> $conf['log']['type'] = 'file'
>   >>
>   >> and
>   >>
>   >> $conf['acctivesync']['logging']['type'] = 'custom'
>   >>
>   >> I'd like to give more info but I can access the administration page I've
>   >> lost my menu entry!...
>   >>
>   >> Louis-Philippe Allard
>   >> lp.allard.1 at gmail.com
>   >>     Sent from Horde Groupware - GNU/Linux
>   >
>   >
>   > can you manually go to http://example.com/hordedir/admin/config/ ?
>   >
>   > --
>   > Ralf Lang
>   > Linux Consultant / Developer
>   >
>   > B1 Systems GmbH
>   > Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
>   > GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>   > --
>   > Horde mailing list
>   > Frequently Asked Questions: http://horde.org/faq/
>   > To unsubscribe, mail: horde-unsubscribe at lists.horde.org
Yes I can.  This is the "place" I was trying to access...  Before I had a
"Administration" menu entry on the left navigation menu.

Louis-Philippe Allard
lp.allard.1 at gmail.com
    Sent from Horde Groupware - GNU/Linux


More information about the horde mailing list