Please ignore, wrong list. On Tue, Feb 8, 2011 at 11:47 AM, Bart van der Schans <[email protected]> wrote: > These messages are set on purpose to WARN which is our default log > level. It's one of the few indicators that the repository actually has > started up or stopped. Can we revert this? > > Regards, > Bart > > > On Tue, Feb 8, 2011 at 11:25 AM, uhommes <[email protected]> wrote: >> Revision: 26871 >> Author: uhommes >> Date: 2011-02-08 11:25:01 +0100 (Tue, 08 Feb 2011) >> Log Message: >> ----------- >> CMS7-4936 log RMI event messages on info level instead of warn >> >> Modified Paths: >> -------------- >> >> hippo-cms7/repository/trunk/servlets/src/main/java/org/hippoecm/repository/RepositoryServlet.java >> >> Modified: >> hippo-cms7/repository/trunk/servlets/src/main/java/org/hippoecm/repository/RepositoryServlet.java >> =================================================================== >> --- >> hippo-cms7/repository/trunk/servlets/src/main/java/org/hippoecm/repository/RepositoryServlet.java >> 2011-02-08 09:44:39 UTC (rev 26870) >> +++ >> hippo-cms7/repository/trunk/servlets/src/main/java/org/hippoecm/repository/RepositoryServlet.java >> 2011-02-08 10:25:01 UTC (rev 26871) >> @@ -162,11 +162,11 @@ >> try { >> registry = LocateRegistry.getRegistry(url.getHost(), >> url.getPort()); >> registry.rebind(url.getName(), rmiRepository); // connection >> exception happens here >> - log.warn("Using existing rmi server on " + url.getHost() + >> ":" + url.getPort()); >> + log.info("Using existing rmi server on " + url.getHost() + >> ":" + url.getPort()); >> } catch (ConnectException e) { >> registry = LocateRegistry.createRegistry(url.getPort()); >> registry.rebind(url.getName(), rmiRepository); >> - log.warn("Started an RMI registry on port " + >> url.getPort()); >> + log.info("Started an RMI registry on port " + >> url.getPort()); >> registryIsEmbedded = true; >> } >> } catch (MalformedURLException ex) { >> @@ -186,20 +186,20 @@ >> @Override >> public void destroy() { >> // close repository >> - log.warn("Closing repository."); >> + log.info("Closing repository."); >> if (repository != null) { >> repository.close(); >> repository = null; >> } >> >> // done >> - log.warn("Repository closed."); >> + log.info("Repository closed."); >> >> // unbinding from registry >> String name = null; >> try { >> name = new RepositoryUrl(bindingAddress).getName(); >> - log.warn("Unbinding '"+name+"' from registry."); >> + log.info("Unbinding '"+name+"' from registry."); >> registry.unbind(name); >> } catch (RemoteException e) { >> log.error("Error during unbinding '" + name + "': " + >> e.getMessage()); >> @@ -211,7 +211,7 @@ >> >> // unexporting from registry >> try { >> - log.warn("Unexporting rmi repository: " + bindingAddress); >> + log.info("Unexporting rmi repository: " + bindingAddress); >> UnicastRemoteObject.unexportObject(rmiRepository, true); >> } catch (NoSuchObjectException e) { >> log.error("Error during rmi shutdown for address: " + >> bindingAddress, e); >> @@ -220,7 +220,7 @@ >> // shutdown registry >> if (registryIsEmbedded) { >> try { >> - log.warn("Closing rmiregistry: " + bindingAddress); >> + log.info("Closing rmiregistry: " + bindingAddress); >> UnicastRemoteObject.unexportObject(registry, true); >> } catch (NoSuchObjectException e) { >> log.error("Error during rmi shutdown for address: " + >> bindingAddress, e); >> >> _______________________________________________ >> Hippocms-svn mailing list >> [email protected] >> http://lists.hippo.nl/mailman/listinfo/hippocms-svn >> > > > > -- > Hippo > ---------------------------------------------------------------------------------------------- > Europe • Amsterdam Oosteinde 11 • 1017 WT Amsterdam • +31 (0)20 522 > 4466 > USA • San Francisco 755 Baywood Drive • Petaluma CA. 94954 • +1 > (877) 414 4776 > Canada • Montréal 5369 Boulevard St-Laurent #430 • Montréal QC > H2T 1S5 • +1 (707) 658-4535 > ---------------------------------------------------------------------------------------------- > www.onehippo.com • www.onehippo.org • [email protected] > ---------------------------------------------------------------------------------------------- >
-- Hippo ---------------------------------------------------------------------------------------------- Europe • Amsterdam Oosteinde 11 • 1017 WT Amsterdam • +31 (0)20 522 4466 USA • San Francisco 755 Baywood Drive • Petaluma CA. 94954 • +1 (877) 414 4776 Canada • Montréal 5369 Boulevard St-Laurent #430 • Montréal QC H2T 1S5 • +1 (707) 658-4535 ---------------------------------------------------------------------------------------------- www.onehippo.com • www.onehippo.org • [email protected] ---------------------------------------------------------------------------------------------- ******************************************** Hippocms-dev: Hippo CMS 6 development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
