You can try this: logging.getLogger().setLevel(logging.DEBUG)
It will show all logs. ---------- keakon On Sat, Oct 23, 2010 at 5:27 PM, megaswin <[email protected]> wrote: > Andy, thanks a lot for the very helpful answer. Now I can see INFO > messages on the server using Admin Console, but in "development mode", > Eclipse still shows only WARN / ERROR messages. Is it well-known issue > or I have to configure it in a special way. And one more question, > guys. I'm going to log all incoming requests and then parse the logs > for gathering statistics, so is it acceptable scenario or logging > should be using mostly for notifying about unexpected behaviour > (exceptions, invalid requests etc), otherwise app performace could > degradate significantly. > > Thanks a lot, > Maxim > > On 23 окт, 03:28, "A. Stevko" <[email protected]> wrote: >> did you use this? >> >> my.package.PrintServlet.level=INFO >> >> >> >> >> >> >> >> On Fri, Oct 22, 2010 at 1:34 PM, megaswin <[email protected]> wrote: >> > Hi guys. >> >> > Am I rigtht in thinking that what I need to do for loging with INFO >> > level is just change .level param to INFO in logging.properties file? >> > And then I can write something like >> > ... >> > private static final Logger log = >> > Logger.getLogger(PrintServlet.class.getName()); >> > ... >> > log.info("An informational message."); >> >> > But it doesn't work for me. Only WARN, ERROR levels are shown in the >> > logs. So, did I forget something? >> >> > Thanks, >> > Maxim >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Google App Engine" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]<google-appengine%2Bunsubscrib >> > [email protected]> >> > . >> > For more options, visit this group at >> >http://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
