Logs

Author Message

Imobach González Sosa

Monday 19 April 2004 4:17:45 pm

Hi all,

I'm interested in logging my site activity: user's logins, logouts, content's access, etc. I'd like to know if anybody knows about a `easy' way to get it working.

I think that doing some hacking into the eZ publish will do the trick, but I'd prefer to write a module 'cause it's cleaner. If I modify the eZ publish, I'd surely break it :)

Ideas?

Thank you all,

--
Happy hacking!

Dominik Pich

Thursday 22 April 2004 12:46:09 am

No way to do it as a module... a module isnt callerd until called AFAIK
A good way might be hacking into the debug output logging all that would normaly be outputted...

Daniele Gubert

Tuesday 22 June 2004 5:46:07 pm

Hi gurus...

has anybody been successful in creating a logging "hack" that tracks logins, logouts, content edits, etc.

While the versioning system and the session administration do that to some extent, my problem is that one can delete both drafts and sessions...

Ciao, :DTM.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:28:16
Script start
Timing: Jan 18 2025 16:28:16
Module start 'layout'
Timing: Jan 18 2025 16:28:16
Module start 'content'
Timing: Jan 18 2025 16:28:17
Module end 'content'
Timing: Jan 18 2025 16:28:17
Script end

Main resources:

Total runtime0.7430 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1172152.5938
Module start 'layout' 0.00470.0027 741.710939.3750
Module start 'content' 0.00740.7341 781.0859500.1016
Module end 'content' 0.74150.0014 1,281.18758.2188
Script end 0.7429  1,289.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4229160.0002
Check MTime0.00140.1862160.0001
Mysql Total
Database connection0.00070.092210.0007
Mysqli_queries0.702894.5883590.0119
Looping result0.00050.0652570.0000
Template Total0.714496.220.3572
Template load0.00200.270020.0010
Template processing0.712495.887820.3562
Template load and register function0.00010.019910.0001
states
state_id_array0.00070.096410.0007
state_identifier_array0.00100.138520.0005
Override
Cache load0.00160.2176180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.064930.0002
Fetch class attribute name0.00090.122530.0003
XML
Image XML parsing0.00030.043930.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00060.0800100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs