Does it compile at all? because you have an error in second import statement. you can also try the below code. import java.util.logging.Level; log.log(Level.WARNING,"Your log text");
On Sun, May 30, 2010 at 1:48 PM, salvatore <[email protected]>wrote: > Hi, > I've a problem > I've tried to see local log ,but nothing was showed at concole when i > try to debug . > I 've tried with all SDK, from 1.2.5 to 1.3.4....nothing appear. > I start a wizard, so i've default loggin.proprieties file > and here there is my code, > ________________________________________ > package test; > import java.io.IOException; > i'smport java.util.logging.Logger; > > import javax.servlet.http.*; > > > public class TestServlet extends HttpServlet { > private static final Logger log = > Logger.getLogger(TestServlet.class.getName()); > > public void doGet(HttpServletRequest req, HttpServletResponse resp) > throws IOException { > resp.setContentType("text/plain"); > resp.getWriter().println("Hello, world"); > > log.info("An informational message."); > log.warning("A warning message."); > log.severe("An error message."); > > } > } > ___________________- > can someone help me? > thank's to all. > > -- > 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
