<commit_before>import flask
from flask import Blueprint, abort
from flask.ext.login import login_required
from flask.ext.principal import Permission, RoleNeed


logs = Blueprint('logs', __name__, template_folder="templates")

@logs.route('/logs')
@login_required
def show_logs():
    with Permission(RoleNeed('show_logs')).require(403):
        return render_template('show_logs.html', logs=[])<commit_msg>Updated logs bluprint to use custom login_required<commit_after>import flask
from flask import Blueprint, abort
from flask.ext.principal import Permission, RoleNeed
from blueprints.auth import login_required

logs = Blueprint('logs', __name__, template_folder="templates")

@logs.route('/logs')
@login_required
def show_logs():
    with Permission(RoleNeed('show_logs')).require(403):
        return render_template('show_logs.html', logs=[])
{'fraction_non_alphanumeric': 0.11438679245283019, 'fraction_numerical': 0.007075471698113208, 'mean_word_length': 6.7889908256880735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '330010', 'n_tokens_mistral': 251, 'n_tokens_neox': 236, 'n_words': 63}