def get_log_file(request, file_name): logger.debug('Get Log file %s' % file_name) log_file_content = read_file_log(file_name) return HttpResponse(json.dumps({"logfilecontent":log_file_content}, ensure_ascii=False), mimetype='application/javascript')
def get_log_file(request, file_name): logger.debug('Get Log file %s' % file_name) log_file_content = read_file_log(file_name) return HttpResponse(json.dumps({"logfilecontent": log_file_content}, ensure_ascii=False), mimetype='application/javascript')