Asif,
Sometimes, depending on the message, the number refers to the script being
acted on or a user ID or a QueueID, etc. That’s about all I know.
I applied the attached patch on /opt/rt3/lib/RT/Action/SendEmail.pm
and now info log generated by SendEmail.pm on rt.log shows like this
rt-3.8.2-485-1279306601-1713.769653-174-0-4525583@rt.example.net
as shown in my patch, I were able to add the transaction id from
$self->TransactionObj->id;
I like to modify this patch to add user id who created the transaction and
the optionla timeworked value for the transaction
how do I get the user id and timeworked value of a transaction ?
The last number is now transaction id.
[…]
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Asif,
Sometimes, depending on the message, the number refers to the script being
acted on or a user ID or a QueueID, etc. That’s about all I know.
I applied the attached patch on /opt/rt3/lib/RT/Action/SendEmail.pm
and now info log generated by SendEmail.pm on rt.log shows like this
rt-3.8.2-485-1279306601-1713.769653-174-0-4525583@rt.example.net
as shown in my patch, I were able to add the transaction id from
$self->TransactionObj->id;
I like to modify this patch to add user id who created the transaction and
the optionla timeworked value for the transaction
how do I get the user id and timeworked value of a transaction ?
Ok included patch (patched lib/RT/Action/SendMail.pm) added the
transaction id, user who worked on that transaction and timeworked
to the rt-version line in rt.log and it shows like this, sanitized. YMMV
Sun Jun 5 02:31:05 2011] [info]:
rt-3.8.2-18896-1307241065-768.863978-87-0-5358179-6268-10@rt.example.net
#863978/5358179 - Scrip 87 Imported from RT 2.0
(/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:306)
How do I convert the $self->TransactionObj->Creator to the name of the creator?
The last number is now transaction id.
[…]
–
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
lib.RT.Action.SendMail.pm.patch (3.78 KB)