[Building Sakai] Portal Context dump via isTraceEnabled

Earle Nietzel earle.nietzel at gmail.com
Fri Aug 24 09:25:38 PDT 2012


Hi everyone,

Recently been doing some xsl-portal work and I had to refer to the
Portal Context, I found dumping the portal context to the log to be
useful (I did clean up some of the output so it is more legible).

I have this enabled locally by checking for isTraceEnabled() in
org.sakaiproject.portal.charon.velocity.VelocityPortalRenderEngine and
wondered if anyone else would find this useful, for addition to Sakai?

Setting the most fine grained level like will dump the portal context:
log.config.[number]=TRACE.org.sakaiproject.portal
(don't forget ALL will also work here)

While
log.config.[number]=DEBUG.org.sakaiproject.portal
will not change anything.

-Earle


More information about the sakai-dev mailing list