<commit_before><?php
$content = $this->render($this->content);
require_once 'Zend/Log.php';
require_once 'Zend/Log/Adapter/File.php';
Zend_Log::registerLogger(new Zend_Log_Adapter_File(dirname(__FILE__) . '/view.log'));
Zend_Log::log(var_export($content, 1));
Zend_Log::log(var_export($this->_file, 1));<commit_msg>* Use specific log to prevent collisions [ZF-625]<commit_after><?php
$content = $this->render($this->content);
require_once 'Zend/Log.php';
require_once 'Zend/Log/Adapter/File.php';
Zend_Log::registerLogger(new Zend_Log_Adapter_File(dirname(__FILE__) . '/view.log'), 'Zend_View_Test');
Zend_Log::log(var_export($content, 1), Zend_Log::LEVEL_DEBUG, 'Zend_View_Test');
Zend_Log::log(var_export($this->_file, 1), Zend_Log::LEVEL_DEBUG, 'Zend_View_Test');
{'fraction_non_alphanumeric': 0.1866840731070496, 'fraction_numerical': 0.009138381201044387, 'mean_word_length': 10.279411764705882, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '6191732', 'n_tokens_mistral': 287, 'n_tokens_neox': 277, 'n_words': 39}