-
Notifications
You must be signed in to change notification settings - Fork 2
Logging
Manos Kouvarakis edited this page Oct 11, 2019
·
5 revisions
Orka internally uses log4js to log messages and riviere to log http traffic. Both log providers support simple and json formats.
Json format that Orka produces is fully compatible with Google Stackdriver that makes searching through logs easy.
If someone needs to check logs from console JSON format is not the most appropriate solution because it is difficult to read in a high traffic system.
For this reason a tool is created to replace plain stern usage. This tool internally uses stern to read logs and fx to transform them in a human readable string. In order to install it, just run the following in your terminal:
curl -L http://wrkbl.ink/prettystern/ | bash
source ~/.bash_profile
After that the only command you need to run is:
pretty_strn <application_name>