Built in Logging with latest beta

Posts   
 
    
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 18-Jul-2007 08:46:49   

HI , I want to know the logging mechanism that comes alongwith the latest beta that i downloaded 2 days back from the LLBLGen site. i want to log everything tha happens to a particular entity and then make some sense out of it e.g. logging each insert / update / delete operations on entity A , and then i should be able to report upon the changes made to that entity later on in some easily accessible and understandable form.

Can you suggest me some way to achieve this?

Regards, Ammit

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 18-Jul-2007 09:54:24   

Did you check v.2.5 beta manual? Section: "v.2.5 Beta docs -> Auditing"

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 18-Jul-2007 18:24:08   

Walaa wrote:

Did you check v.2.5 beta manual? Section: "v.2.5 Beta docs -> Auditing"

Hello, thanx for your quick response. i did check the documentation but i think you are still in process updating it correct? i couldnt find some information that i was hunting for in the help file

I think this can solve my problem but i dont know how to go about it. i would like to explain my problem statement and would really appriciate if you can help me solve this problem in LLBLGen.

I want to log everything that happens on a particular [set of] entities. e.g. Employee is an entity... i want to log following things.

1) on create : i want to know when it was creates with some my application specific info[e.g. userid etc...]

2) on Update : when it was updated and what was the value before update and what is the value after update? with ofcourse some app specific infor .

3) On Delete : when it was deleted with all the data about that particular entity.

I saw LLBLGen coming out with this KOOL feature so that saves me time to write some specific method and all togather new set of functionality to track these things down..

I saw the help file but that is not enough info and i couldnt actually decide how should i solve this problem that i am facing??

I want to wrap this thing off asap. and cant really wait till Beta release gets comverted in to something concrete... i am fine with using this beta binaries as well...

I will be looking forward to your usual Sharp answer/ solution....

Regards, Ammit

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 19-Jul-2007 04:02:14   

Hi Ammit.

It's pretty simple. Start reading Dependency Injection Mechanism and then Auditing Help Sections. Then decide what audit mechanisms you would use (DB, textFile, etc.). Create a project and follow the Help instructions. If we can assist you in some manner please let us know smile .

Great news: Soon cool LLBLGenPro_v2.5 examples are coming with the release (no-beta) of v2.5. I am personally working on the Auditing Example wink . I'm coding a Northwind example (in Adapter and Selfservicing template set and with Winform and Webform GUI's). I hope that would be a good guide for LLBLGenPro Auditing feature.

Cheers

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 20-Jul-2007 11:52:32   

Ammit wrote:

Walaa wrote:

Did you check v.2.5 beta manual? Section: "v.2.5 Beta docs -> Auditing"

Hello, thanx for your quick response. i did check the documentation but i think you are still in process updating it correct? i couldnt find some information that i was hunting for in the help file

Yes, the v2.5 specific documentation will be merged in the coming week.

Frans Bouma | Lead developer LLBLGen Pro
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 20-Jul-2007 12:02:40   

Otis wrote:

Ammit wrote:

Walaa wrote:

Did you check v.2.5 beta manual? Section: "v.2.5 Beta docs -> Auditing"

Hello, thanx for your quick response. i did check the documentation but i think you are still in process updating it correct? i couldnt find some information that i was hunting for in the help file

Yes, the v2.5 specific documentation will be merged in the coming week.

Thanx Otis for your response on this.. anyways... we are trying to implement a solution mix which uses Injection,Audit & Authorisation .. so we decided to wait untill you release 2.5 with documentation , samples.etc... it will be great if you can demonstrate something which covers these KOOL new features in one solution..

thanx Ammit

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 20-Jul-2007 15:01:51   

it will be great if you can demonstrate something which covers these KOOL new features in one solution..

Some sample projects usign the new features will be published at the time of the release.

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 07-Aug-2007 18:21:50   

Walaa wrote:

it will be great if you can demonstrate something which covers these KOOL new features in one solution..

Some sample projects usign the new features will be published at the time of the release.

I am waiting for some detailed sample on Auditing , Authorisation and Injection mechanism that you have provided in 2.5 release. I am in a process to implement all of them i can say..but for that i want some samples... i want to implement logging mechanism for everychange that has been made to an entity, and put some more controls on who can access an entity and who can not... thinking of implementing it across the board in my solution. we have sort of delayed the deliverable around that as i am still waiting for 2.5 release with detailed samples, more help material etc..etc...

Can you please let me know when are you going to release 2.5?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 07-Aug-2007 21:43:19   

Ammit wrote:

Walaa wrote:

it will be great if you can demonstrate something which covers these KOOL new features in one solution..

Some sample projects usign the new features will be published at the time of the release.

I am waiting for some detailed sample on Auditing , Authorisation and Injection mechanism that you have provided in 2.5 release. I am in a process to implement all of them i can say..but for that i want some samples... i want to implement logging mechanism for everychange that has been made to an entity, and put some more controls on who can access an entity and who can not... thinking of implementing it across the board in my solution. we have sort of delayed the deliverable around that as i am still waiting for 2.5 release with detailed samples, more help material etc..etc... Can you please let me know when are you going to release 2.5?

Hopefully next week. In the last beta build we included the help for auditing/authorization and also DI setup. These include an example, info how to set things up etc. Did you read those?

With the release (hopefully, otherwise slightly later, but not much later) we will release examples (standalone examples) explaining each of these techniques. Though the documentation should get you started.

Frans Bouma | Lead developer LLBLGen Pro
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 08-Aug-2007 05:55:08   

Otis wrote:

Ammit wrote:

Walaa wrote:

it will be great if you can demonstrate something which covers these KOOL new features in one solution..

Some sample projects usign the new features will be published at the time of the release.

I am waiting for some detailed sample on Auditing , Authorisation and Injection mechanism that you have provided in 2.5 release. I am in a process to implement all of them i can say..but for that i want some samples... i want to implement logging mechanism for everychange that has been made to an entity, and put some more controls on who can access an entity and who can not... thinking of implementing it across the board in my solution. we have sort of delayed the deliverable around that as i am still waiting for 2.5 release with detailed samples, more help material etc..etc... Can you please let me know when are you going to release 2.5?

Hopefully next week. In the last beta build we included the help for auditing/authorization and also DI setup. These include an example, info how to set things up etc. Did you read those?

With the release (hopefully, otherwise slightly later, but not much later) we will release examples (standalone examples) explaining each of these techniques. Though the documentation should get you started.

thanx for your reply i have already started doing small POC on these but to implement them across the board i would rather wait for the final release... meanwhile i will work on some doing some hand s on with available document and i run in to issue then you guys are always there smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 08-Aug-2007 09:33:25   

ok simple_smile

Please let us know if the docs need more clarification. Take your time though, dependency injection etc. is an advanced topic so details matter simple_smile

Frans Bouma | Lead developer LLBLGen Pro