Hi, sorry for not reading the emails before now. The warnings in the logs are my fault, and was changed from debug to warn when we found out that the last slowness we had (all searches took 5+ sec) produced exceptions but only reported as debug info. So I thought that must be an obvious mistake, and changed it. Mick wrote back shortly after that and said the following:
On Wednesday 20 August 2008 14:05:08 Mick Semb Wever wrote: > > // acceptable for sesat not to have to have a user > > service backend > > - LOG.debug(ne.getMessage(), ne); + > > LOG.warn(ne.getMessage(), ne); > > If you look through the history (r6031) you will see that it used to be > warn/error but was changed to debug. > This will write a warning _every_ request > (the /normal/ failure doesn't result in the 5 second wait) > and cause enough damage to the logs to be another production crisis. > > ~mck And I replied with this: > I was probably a bit to fast with that commit, but I think we should look for > another solution then to use exceptions to catch something that is allowed. > And the reason is basically that it could mask more serious problems like the > ones that we have had today. (Every search took 5 seconds) > > Should there be a property that disable/enable this? > > Could this service come and go in the lifetime of the running application? > > Håvard So I will hopefully be in at work tomorrow, and have a talk with Mick, or just revert it back to what it was. Sorry for making trouble :-) Håvard -----Original Message----- From: [EMAIL PROTECTED] on behalf of Anna Larsson Sent: Thu 8/28/2008 2:46 PM To: Sesat Kernel usage and development discussions. Subject: warn i gamma logs Hello! After update of kernel on gamma today I see a lot of this in the log file: WARN 14:44:43,631 [sesam.se/ TP-Processor14] (gFAYwQoLQWYAAFF2NJkAAAB9) UserFilter: user-service not bound javax.naming.NameNotFoundException: user-service not bound Sesam.se and sitesearches etc seem to be working just fine. Does anyone know what the warn mean? /Anna __________________________________________ Anna Larsson Schibsted Sök AB Besök: Mäster Samuelsgatan 56, 3tr Postadress: 105 17 Stockholm Hemsida: www.sesam.se <http://www.sesam.se> E-post: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Mobil: 070 980 36 69 Växel: 08 - 13 53 10 Sök videos på Sesam.se - "funny cats <http://sesam.se/search/?q=funny+cats&userSortBy=mix&c=v> " _______________________________________________ Kernel-development mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-development
