Forums / Install & configuration / location of error log for a specific siteaccess

location of error log for a specific siteaccess

Author Message

Claudia Kosny

Friday 09 February 2007 4:45:19 am

Hi there

Is there a way to specify the location of the error log for each siteaccess? I have quite a few siteaccesses which use the same database but different templates and settings and it would be nice to have the errors separate for each siteaccess.

The setting LogDir in [FileSettings] in site.ini just determines the location of the storage.log and I could not find any other suitable setting or ini file.

Thanks

Claudia

Yves B

Monday 26 March 2007 8:30:45 am

Hi,

I'd also like to monitor separately the public site from administrative site.

LogFiles are hard coded in EzDebug, may be because some errors may be traced before knowing the siteaccess ?

The shortest way I found was to change ezDebug "writeFile" to include from :

$logDir = $logFileData[0];
$logName = $logFileData[1];

to :

$ini =& eZINI::instance();
$logSite = $ini->variable( 'SiteSettings', 'SiteURL' );
$logDir = $logFileData[0];
$logName = $logSite.'_'.$logFileData[1];

It suits my needs, and, I think, maintains log rotation.

Felix Woldt

Monday 26 March 2007 11:10:16 am

This is a bug. Have a look to this bugreports:

http://issues.ez.no/IssueView.php?Id=8397&activeItem=6
http://issues.ez.no/IssueView.php?Id=10366

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Ɓukasz Serwatka

Tuesday 27 March 2007 12:18:48 am

Hi,

Fix for this issue is addressed for next eZ Publish 3.9.2 sub-release.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

meinhard benn

Monday 30 March 2009 2:12:12 pm

This bug is back, because the fix had been reverted. See my comment: http://issues.ez.no/IssueView.php?Id=10366&ProjectId=3#Comment261080

http://goozee.benn.org/ - Google Co-op for eZ sites

eZ debug

Timing: Jan 18 2025 15:16:23
Script start
Timing: Jan 18 2025 15:16:23
Module start 'content'
Timing: Jan 18 2025 15:16:24
Module end 'content'
Timing: Jan 18 2025 15:16:24
Script end

Main resources:

Total runtime1.0082 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.9609180.8047
Module start 'content' 0.00830.8408 768.7656683.9219
Module end 'content' 0.84910.1590 1,452.6875337.0313
Script end 1.0081  1,789.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4239210.0002
Check MTime0.00160.1543210.0001
Mysql Total
Database connection0.00160.154910.0016
Mysqli_queries0.926591.89352060.0045
Looping result0.00200.19622040.0000
Template Total0.965895.820.4829
Template load0.00220.223020.0011
Template processing0.963695.570620.4818
Template load and register function0.00020.023410.0002
states
state_id_array0.00160.161610.0016
state_identifier_array0.00200.195820.0010
Override
Cache load0.00200.1937330.0001
Sytem overhead
Fetch class attribute can translate value0.00100.097760.0002
Fetch class attribute name0.00130.125780.0002
XML
Image XML parsing0.00200.194260.0003
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00430.4231400.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs