log.warning → .info

This commit is contained in:
Sybren A. Stüvel 2016-10-20 13:01:17 +02:00
parent 8d3c4745aa
commit ad1816c617

View File

@ -37,8 +37,8 @@ def comments_create():
current_user.objectid, parent_id)
raise wz_exceptions.UnprocessableEntity()
log.warning('Creating comment for user %s on parent node %r',
current_user.objectid, parent_id)
log.info('Creating comment for user %s on parent node %r',
current_user.objectid, parent_id)
comment_props = dict(
project=parent_node.project,
@ -209,7 +209,6 @@ def comments_for_node(node_id):
nr_of_comments = sum(1 + comment['_replies']['_meta']['total']
for comment in comments['_items'])
# Data will be requested via javascript
return render_template('nodes/custom/comment/list_embed.html',
node_id=node_id,
comments=comments,