event logging table added
Merging Alans work and mine together.
correct syntax error.
Updated merge conflicts and coding standards.