gramener / gramex

A visual analytics platform to build data-based web apps with less code.
https://gramener.com/gramex/guide/
Other
142 stars 56 forks source link

Switch to rich for logging in color #634

Open sanand0 opened 1 year ago

sanand0 commented 1 year ago

rich has a good interface for logging in color. Should we switch to this, @bhatsandeep @jaidevd?

Rich logging screenshot

jaidevd commented 1 year ago

Viewing Gramex logs in the browser is very important for the IDE (not sure if this is also true for UAT). So switch to rich (or anything else) as long as it provides easy configuration of logging to HTML as well as the terminal.

What I mean is - I don't want to write too much code to render Gramex logs on web pages. Maybe something like this:

gramexlog:
  color: ascii  # or
  color: html  # And then simply pipe the STD{OUT, ERR} to an html file
bhatsandeep commented 1 year ago

Agree with @Jaidev @.***>’s comments.


From: Jaidev Deshpande @.> Sent: Saturday, November 5, 2022 4:09:36 PM To: gramener/gramex @.> Cc: Sandeep Bhat @.>; Mention @.> Subject: Re: [gramener/gramex] Switch to rich for logging in color (Issue #634)

Viewing Gramex logs in the browser is very important for the IDE (not sure if this is also true for UAT). So switch to rich (or anything else) as long as it provides easy configuration of logging to HTML as well as the terminal.

— Reply to this email directly, view it on GitHubhttps://github.com/gramener/gramex/issues/634#issuecomment-1304493516, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQC65A6M2YVYOOWFFLENVNDWGY2ORANCNFSM6AAAAAARW27WNA. You are receiving this because you were mentioned.Message ID: @.***>

Disclaimer: This email may be confidential. Please don't share without consent. Inform the sender if you got it by mistake.