I\'ve got a web-app deployed to a Tomcat 7 server. My application uses log4j and a file appender. However, not all logging messages
It looks like the StateUtils class is using java.util.logging (jul). It stands to reason that other myfaces classes also use jul. Thus, you would probably want to funnel jul logs through SLF4J. Have a look at bridging legacy APIs, in particular the jul-to-slf4j bridge.
Please see SLF4JBridgeHandler javadocs for usage instructions when installing jul-to-slf4j.