Skip to content

TxtStyle color-styles to make your log tail colorful packed into a simple bash script that's runnable through tl filename.log

License

Notifications You must be signed in to change notification settings

versedi/MagentoLogsTailColorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento Logs Tail Colorizer

(No longer Magento only).

As the time passed I needed some new styling for other frameworks and apps. Currently there's a Symfony included in Universal styling which will be eventually switched to it's own styling. Universal styling also contains most popular log messages so should do it's job on most php apps.

Preview - system.log, apache error.log, exception.log and a symfony framework dev.log

Instruction

git clone https://github.com/versedi/MagentoLogsTailColorizer.git
cd MagentoLogsTailColorizer && git submodule init && git submodule update
cd <somedirectory_in_your_PATH> && ln -s MagentoLogsTailColorizer/TxtStyle/txts
cd <somedirectory_in_your_PATH> && ln -s MagentoLogsTailColorizer/tl
cd ~ && ln -s MagentoLogsTailColorizer/.txts.conf

To check your logs use:

tl /homeorserver/www/magentoapp/var/log/system.log

or

cd /magentopath/var/log/ && tl exception.log
cd /var/log/apache2/ && tl error.log

Big thanks to armandino for TxtStyle:

https://github.com/armandino/TxtStyle

About

TxtStyle color-styles to make your log tail colorful packed into a simple bash script that's runnable through tl filename.log

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages