Log capabilities at DEBUG level.
This commit is contained in:
@@ -499,9 +499,9 @@ class PillarServer(Eve):
|
|||||||
|
|
||||||
self._user_caps = app_caps
|
self._user_caps = app_caps
|
||||||
|
|
||||||
if self.log.isEnabledFor(logging.INFO):
|
if self.log.isEnabledFor(logging.DEBUG):
|
||||||
import pprint
|
import pprint
|
||||||
self.log.info('Configured user capabilities: %s', pprint.pformat(self._user_caps))
|
self.log.debug('Configured user capabilities: %s', pprint.pformat(self._user_caps))
|
||||||
|
|
||||||
def register_static_file_endpoint(self, url_prefix, endpoint_name, static_folder):
|
def register_static_file_endpoint(self, url_prefix, endpoint_name, static_folder):
|
||||||
from pillar.web.staticfile import PillarStaticFile
|
from pillar.web.staticfile import PillarStaticFile
|
||||||
|
Reference in New Issue
Block a user