move display_page path resolution logging to DEBUG
This commit is contained in:
parent
ed0dab14f3
commit
5ce44ba31c
@ -18,7 +18,7 @@ md = markdown.Markdown(extensions=['meta'])
|
|||||||
def display_page(path):
|
def display_page(path):
|
||||||
"""Get the file contents of the requested path and render the file."""
|
"""Get the file contents of the requested path and render the file."""
|
||||||
resolved_path = page_file_resolver(path)
|
resolved_path = page_file_resolver(path)
|
||||||
logger.info("received request for path '%s', resolved to '%s'", path, resolved_path)
|
logger.debug("received request for path '%s', resolved to '%s'", path, resolved_path)
|
||||||
try:
|
try:
|
||||||
with app.open_instance_resource(resolved_path, 'r') as entry_file:
|
with app.open_instance_resource(resolved_path, 'r') as entry_file:
|
||||||
logger.debug("file '%s' found", resolved_path)
|
logger.debug("file '%s' found", resolved_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user