How to use a different app for log viewing than for editing?
Posted by: whitedragond (---.ihc.com)
Date: July 19, 2019 06:17PM

I have my editor setup to use Textpad
editor ="C:/Program Files/TextPad 8/TextPad.exe"


but that also opens up when opening a .log file from the app menu.

I want to use Baretail (or any other log viewer or use the default windows assigned app) so I can see the scrolling logs and not have to 'refresh' the text editor every time a new log row is inserted.


How do I configure your app to use a different program to look at .log files?



thanks

Options: ReplyQuote
Re: How to use a different app for log viewing than for editing?
Posted by: whitedragond (---.ihc.com)
Date: July 19, 2019 06:44PM

Even though the message at the top of the files say "this is overwritten each time don't edit", I went ahead and edited:


I searched for *.log and replaced like:


wampmanager.ini

Type: item; Caption: "PHP error log"; Glyph: 33; Action: run; FileName: "C:/Apps/Baretail/baretailpro.exe"; parameters: "c:/wamp/logs/php_error.log"


wampmanager.tpl
Type: item; Caption: "${w_phpLog}"; Glyph: 33; Action: run; FileName: "C:/Apps/Baretail/baretailpro.exe"; parameters: "${c_installDir}/${logDir}php_error.log"



I replaced the "${c_editor}" w/ the direct path to my log viewer.





THERE SHOULD BE AN OPTION TO CHOOSE A LOG VIEWER!!!!!!!!!!!!!!!!!!!!!

Options: ReplyQuote
Re: How to use a different app for log viewing than for editing?
Posted by: Otomatic (Moderator)
Date: July 19, 2019 08:01PM

Hi,

The only possibility to change text editor is in wampmanager.conf file.
editor=

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.