More information about cache in debug output

More information about cache in debug output

Wednesday 05 January 2011 5:42:26 am - 3 replies

Author Message

Nicolas Pastorino

Wednesday 05 January 2011 6:17:03 am

Hi Eirik !

Happy new year ;)

Have you tried enabling conditional debug output :

[DebugSettings]
ConditionDebug=enabled

[GeneralCondition]
kernel-content-view-cache=enabled
eztemplate-tree-cache=enabled

Let us know how things go,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Eirik Alfstad Johansen

Wednesday 05 January 2011 7:06:52 am

Hi Nicolas, and a happy new year to you as well!

I tried this, but I'm not sure what to look for. How will this setting affect the debug output?

I took a look at the docs, but they weren't all that helpful in this regard.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Nicolas Pastorino

Wednesday 05 January 2011 9:14:51 am

Hei igjen,

Through an example : with

kernel-content-view-cache=enabled

and the main Conditional Debug switch enabled, all lines like :

eZDebugSetting::writeDebug( 'kernel-content-view-cache', 'cache expired #1' );

will output something in the main DebugOutput ('cache expired #1' in this case), in a block having a title containing 'kernel-content-view-cache', easily searchable in a browser.

Scanning the default debug.ini, i only found the two debug-conditions pasted earlier potentially matching your needs. However, i do not know for sure that conditional debug statements are located in relevant places for your issue.

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

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