Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging for JSF  RSS feed

 
Matthew Snow
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of my jsf/html:commandLink's has stopped working and I want to set the log4j property so I can see what's going on. For example, to see what hibernate was doing behind my back, I set this in my log4j.properties file.

log4j.logger.org.hibernate.impl=DEBUG, stdout
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
log4j.logger.javax.faces=DEBUG, stdout

You can narrow it down to more packages if you need it to be more specific than just the javax.faces.* package.
 
Matthew Snow
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<h:messages /> is your friend.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!