[rt-users] Timestamps when logging to a file
Mike Friedman
mikef at ack.Berkeley.EDU
Wed Dec 14 18:12:15 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 13 Dec 2005 at 19:14 (-0800), Jim Meyer wrote:
> Sorta. I should have realized that you were using a whole copy of RT.pm
> rather than putting only the function you need to override into
> local/lib/RT_Local.pm, which is included by lib/RT.pm (using a require
> statement at the end) and which will then cause your version of the
> function to prevail.
>
> I just kinda assumed that you knew the whole *_Local.pm trick (which
> works for pretty much every major perl module in RT) ... but since I
> only learned it in the last three months, though, you'd think I'd
> remember to mention it.
Jim,
No, I didn't know about the '*_Local.pm trick'. Where is this documented?
And even as I look in RT.pm and see the 'eval require ...' statement, it's
not obvious to me in which paths RT_Local.pm will be searched for, though
I assume from what you say that it will search local/lib first.
If you can point me to more information about this particular override
facility, I'd appreciate it.
Thanks.
Mike
_____________________________________________________________________
Mike Friedman System and Network Security
mikef at ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu
_____________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBQ6Cm060bf1iNr4mCEQIArgCfcAsi4JdndiRYnAgJ5a4oH8V10BkAniFf
NiikRu1EerjSnGwV+zl2NffA
=RWZw
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list