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=

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.3 32 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31 - MariaDB 10.5.4
Wampserver 3.2.3 64 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31/8.0.21 - MariaDB 10.5.4
PhPMyadmin 5.0.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.