Yes ,you're right... I got it! Dummy problem, thank's a lot! On 2 Giu, 00:54, "Ikai L (Google)" <ika...@google.com> wrote: > Try setting your default logging level to .INFO or .FINE. You're probably > seeing some of the info printed to your console, but not all. > > > > On Mon, May 24, 2010 at 4:37 AM, ww34ww34 <ww34w...@gmail.com> wrote: > > I'm new on GAE. > > I need to debug some var, on my development server (local). > > Or to see local log. How? > > > SDK 1.3.3.1 > > my "logging.proprieties" look like this > > ________________________________________________ > > > # A default java.util.logging configuration. > > # (All App Engine logging is through java.util.logging by default). > > # > > # To use this configuration, copy it into your application's WEB-INF > > # folder and add the following to your appengine-web.xml: > > # > > # <system-properties> > > # <property name="java.util.logging.config.file" value="WEB-INF/ > > logging.properties"/> > > # </system-properties> > > # > > > # Set the default logging level for all loggers to WARNING > > .level = WARNING > > ________________________________________________ > > > my test class look like this > > ________________________________________________ > > import java.io.IOException; > > import javax.servlet.http.*; > > > import java.util.logging.Level; > > import java.util.logging.Logger; > > > @SuppressWarnings("serial") > > public class TestServlet extends HttpServlet { > > private final static Logger LOGGER = > > Logger.getLogger(TestServlet.class.getName()); > > public void doGet(HttpServletRequest req, HttpServletResponse resp) > > throws IOException { > > resp.setContentType("text/plain"); > > resp.getWriter().println("Hello, world"); > > > LOGGER.info("An informational message."); > > LOGGER.warning("A warning message."); > > LOGGER.severe("An error message."); > > > } > > } > > > ________________________________________________ > > > Thank's .. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog:http://googleappengine.blogspot.com > Twitter:http://twitter.com/app_engine > Reddit:http://www.reddit.com/r/appengine
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.