google-code-export / evision

Automatically exported from code.google.com/p/evision
0 stars 0 forks source link

Error Log: LogToSession #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Create three new Error Log methods:

LogToSession

EncryptLogData: Encrypt using Jaws_Crypt

DecryptLogData: Decrypt using Jaws_Crypt

Error Log are appended to user Session variables for all of their activity. If 
we ever display the info to end users, it's encrypted into something that looks 
like:

Public "global" error string: Sorry, something went wrong. A team of highly 
trained monkeys has been dispatched to deal with this situation.
If you see them, show them this information:

Encrypted Log message [big block of IonCube looking text]:

AwAz28gZ1ilfJtmEAK3HJ7t5Ey97EJbkayeFdsIKWu_qPs1tVOgQFtPrl2tR 
6J-2v5XIc4XZqKAkL4wgmKjfk7UbTunC9jpZu1FOPqTDLq4fKQoEGsn8-TTc 
SwfhZkkWMYwF9otWSKOEoEtBtkcqfvcbkBKrArWsk2-y9-bQX3oRi0MXuLpi 
gJwtaK_9FIBZlsORRcaB7tnhkB83BadwOxQoROWak88SNyh1s5zJm6U0L1i7 
x_rLjtQn1__z3bEKL3NKMbCtybr3qFE7_L_6ck4oq3rXQq1Zfa_MgzjF9w2l

Then we run it through the DecryptLogData function that makes it standard Log 
message.

Original issue reported on code.google.com by alan.val...@ucclouds.com on 16 Feb 2011 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by alan.val...@ucgroup.co on 8 Sep 2011 at 7:51

GoogleCodeExporter commented 9 years ago

Original comment by alan.val...@ucgroup.co on 13 Nov 2011 at 2:19

GoogleCodeExporter commented 9 years ago

Original comment by alan.val...@ucgroup.co on 13 Nov 2011 at 2:27

GoogleCodeExporter commented 9 years ago

Original comment by alan.val...@ucgroup.co on 13 Nov 2011 at 2:29