FacesTrace beta is out

It’s been a week since we announced the FacesTrace and receive many nice feedbacks from the community. Now the version 0.8.0(beta) is ready and released at sourceforge. In addition to the interesting features mentioned in my previous entry, facestrace now supports logging. We’ve created a custom log4j appender, after configuring log4j.properties(or xml) to use the facestrace appender, you can easily see the logs recorded An example configuration will look like;

<?xml version=”1.0″ encoding=”UTF-8″ ?>
<!DOCTYPE log4j:configuration PUBLIC “-//LOG4J” “log4j.dtd”>
<log4j:configuration xmlns:log4j=”http://jakarta.apache.org/log4j/”&gt;
    <appender name=”FACESTRACE”
        class=”net.sf.facestrace.logging.FacesTraceAppender”>
    </appender>
    <logger name=”your.app”>
        <level value=”DEBUG” />
    </logger>
    <root>
        <level value=”INFO” />
        <appender-ref ref=”FACESTRACE” />
    </root>
</log4j:configuration>

and the result is;

Also we have built the site of facestrace at sourceforge.

Simple Usage of FacesTrace
You need to add the following taglib def. Nevermind if you are using facelets:)
<%@ taglib uri=”http://sourceforge.net/projects/facestrace&#8221; prefix=”ft”%>

Place the component at the end of your page’s components.
<ft:trace />

This is all for now, it is time enjoy this interesting fun JSF library.

3 Responses to FacesTrace beta is out

  1. Good job, Cagatay! I tried it today for tracing AJAX request: http://www.jsfbyexamples.com/facesTrace/
    I know how AJAX request are fast walking though the life-cycle on the server now.

  2. Cagatay Civici says:

    Hi Sergey, thanks for deploying facestrace. I will point that out as an online example. By the way, I guess the resource loading mechanism is not working in webapp, does facesservlet only mapped to *.jsf. That should be the reason because for now facestrace only supports /faces/* for resource loading from jar.

  3. Carlos says:

    Hello,

    I’m trying to use facestrace in a new application to trace, but I’d like to send output log to a file; ¿could you write or send me an log4j properties example using facestrace and giving output in a file?

    Many thanks in advance.

    Best regards

%d bloggers like this: