Logging Access

Author Message

Restrepo John

Tuesday 05 August 2003 9:37:03 am

Hi there,

I need to log everyting my users do (view articles, search, bookmark, etc) into a log file. In old nice 2.2 I just modified the php scripts to write an entry to the log file. Now I could do the same, but I wonder if there is any better way to do that, since I am afraid I will have to move the code I insert to the new versions every time I upgrade. Help in this matter is highly appreciated.

cheers,

John

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 19 2025 00:16:25
Script start
Timing: Jan 19 2025 00:16:25
Module start 'layout'
Timing: Jan 19 2025 00:16:25
Module start 'content'
Timing: Jan 19 2025 00:16:27
Module end 'content'
Timing: Jan 19 2025 00:16:27
Script end

Main resources:

Total runtime1.0424 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 587.7891152.6094
Module start 'layout' 0.00860.0035 740.398439.4063
Module start 'content' 0.01211.0290 779.8047398.0938
Module end 'content' 1.04110.0013 1,177.89848.2031
Script end 1.0424  1,186.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3298160.0002
Check MTime0.00130.1238160.0001
Mysql Total
Database connection0.00330.314010.0033
Mysqli_queries0.999795.8981460.0217
Looping result0.00050.0453440.0000
Template Total0.991095.120.4955
Template load0.00210.196820.0010
Template processing0.989094.872220.4945
Template load and register function0.00020.018510.0002
states
state_id_array0.00130.121210.0013
state_identifier_array0.00350.334720.0017
Override
Cache load0.00160.154770.0002
Sytem overhead
Fetch class attribute can translate value0.00070.064510.0007
Fetch class attribute name0.00080.074610.0008
XML
Image XML parsing0.00010.009910.0001
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00090.0908100.0001
String conversion0.00000.000640.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs