<style type="text/css">a[data-mtli~="mtli_filesize123MB"]:after {content:" (1.23 MB)"}</style><style type="text/css">a[data-mtli~="mtli_filesize123MB"]:after {content:" (1.23 MB)"}</style>{"id":580,"date":"2017-12-13T15:56:13","date_gmt":"2017-12-13T15:56:13","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=580"},"modified":"2017-12-13T16:03:42","modified_gmt":"2017-12-13T16:03:42","slug":"log-directory-plugin-windows","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/log-directory-plugin-windows\/","title":{"rendered":"Log Directory Plugin Windows"},"content":{"rendered":"<p>Plugin to monitor all logs inside a Windows directory.<\/p>\n<p>Using this grep_log.exe plugin modified you could monitor all logs inside a directory.<\/p>\n<p>You need to execute it in a bat file:<\/p>\n<p><em>Grep_log_directory.bat\u00a0<\/em><\/p>\n<pre>@echo off\u00a0\r\nfor \/f %%f in ('dir \/b &lt;DIRECTORY_PATH&gt;') do &lt;PLUGIN_PATH&gt;\\grep_log.exe &lt;DIRECTORY_PATH&gt;\\%%f &lt;MODULE_NAME&gt; \"&lt;REGEXP&gt;\"<\/pre>\n<p>Execution:<\/p>\n<p><em>\u00a0 module_plugin &lt;PATH&gt;\\Grep_log_directory.bat<\/em><\/p>\n<h2>Module data<\/h2>\n<p><em>module_plugin &lt;PATH&gt;\\Grep_log_directory.bat\u00a0<\/em><\/p>\n<h2>Files:<\/h2>\n<p><a href=\"\/library\/files_repository\/1488282570.mario_pulido.Grep_log_directory.bat\" target=\"_blank\" rel=\"noopener\">Grep_log_directory.bat<\/a><\/p>\n<p><a href=\"\/library\/files_repository\/1488282560.mario_pulido.grep_log.exe\" class=\"mtli_attachment mtli_exe\" data-mtli=\"mtli_filesize123MB\" target=\"_blank\" rel=\"noopener\">grep_log.exe<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Plugin to monitor all logs inside a Windows directory. Using this grep_log.exe plugin modified you could monitor all logs inside a directory. You need to execute it in a bat file: Grep_log_directory.bat\u00a0 @echo off\u00a0 for \/f %%f in (&#8216;dir \/b &lt;DIRECTORY_PATH&gt;&#8217;) do &lt;PLUGIN_PATH&gt;\\grep_log.exe &lt;DIRECTORY_PATH&gt;\\%%f &lt;MODULE_NAME&gt; &#8220;&lt;REGEXP&gt;&#8221; Execution: \u00a0 module_plugin &lt;PATH&gt;\\Grep_log_directory.bat Module data module_plugin &lt;PATH&gt;\\Grep_log_directory.bat\u00a0 Files: [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4],"tags":[119,120,118,121],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/580"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=580"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/580\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}