[horde] Logs

Anant Athavale asa at isac.gov.in
Fri Nov 2 04:51:31 UTC 2007


Dear List:

I modified the file called horde/lib/Log/file.php

add changed
var $_timeFormat = '%b %d %H:%M:%S';

to

var $_timeFormat = '%b %d %Y %H:%M:%S';

and this solved my issue.

Regards,
Anant



----- Message from asa at isac.gov.in ---------
     Date: Tue, 30 Oct 2007 09:51:32 +0530
     From: Anant Athavale <asa at isac.gov.in>
Reply-To: Anant Athavale <asa at isac.gov.in>
  Subject: [horde] Logs
       To: horde at lists.horde.org
       Cc: Rakesh Kumar <rakesh at isac.gov.in>, rajiv at isac.gov.in


> Dear List:
>
> I have the following parameters set in my Horde configuration file.
>
> $conf['log']['priority'] = PEAR_LOG_NOTICE;
> $conf['log']['ident'] = 'HORDE';
> $conf['log']['params'] = array();
> $conf['log']['name'] = '/tmp/horde.log';
> $conf['log']['params']['append'] = true;
> $conf['log']['type'] = 'file';
> $conf['log']['enabled'] = true;
>
> We are using Horde 3.1.5.
>
> I find that, the log does not contain year in any entry.
>
> I am showing one log entry:
> -------------------------------------------------------------------
> Oct 30 09:49:31 HORDE [notice] [imp] Login success for asa at isac.gov.in
> [10.21.16.7] to {localhost:143} [on line 154 of
> "/home/horde/imp/redirect.php"]
> ---------------------------------------------------------------------------
> Here we can see Year is not there.  if the log has more than one year
> data, then difficult to know, to which year this entry belongs to.
>
> Is it possible to add Year as part of the log entry.
>
>
> Regards,
>
> Anant Athavale.
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


----- End message from asa at isac.gov.in -----



Regards,

Anant Athavale.


More information about the horde mailing list