Update Copyright header point to COPYING file
[cascardo/ipsilon.git] / ipsilon / rest / common.py
index 7baea94..447dd7c 100644 (file)
@@ -1,7 +1,8 @@
-# Copyright (C) 2015  Ipsilon Contributors see COPYING for license
+# Copyright (C) 2015 Ipsilon project Contributors, for license see COPYING
 
 import cherrypy
 import json
 
 import cherrypy
 import json
+import logging
 from functools import wraps
 from ipsilon.util.endpoint import Endpoint
 
 from functools import wraps
 from ipsilon.util.endpoint import Endpoint
 
@@ -54,7 +55,8 @@ class RestPlugins(RestPage):
         for plugin in self._site[facility].available:
             obj = self._site[facility].available[plugin]
             if hasattr(obj, 'rest'):
         for plugin in self._site[facility].available:
             obj = self._site[facility].available[plugin]
             if hasattr(obj, 'rest'):
-                cherrypy.log.error('Rest plugin: %s' % plugin)
+                cherrypy.log.error('Rest plugin: %s' % plugin,
+                                   severity=logging.DEBUG)
                 obj.rest.mount(self)
 
     def root_with_msg(self, message=None, message_type=None, changed=None):
                 obj.rest.mount(self)
 
     def root_with_msg(self, message=None, message_type=None, changed=None):