The import was correct and compile... My mistake ,the log work now, and i can see in console everthing... The error was simple, i don't call servlet.... Thank's a lot , and sorry!
On 31 Mag, 20:43, "sreenidhi b.s" <sreenidh...@gmail.com> wrote: > 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(Leel.WARNING,"Your log text"); > > On Sun, May 30, 2010 at 1:48 PM, salvatore <salvatore.bela...@gmail.com>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 > > 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. -- 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.