defang icon indicating copy to clipboard operation
defang copied to clipboard

Improve Terminal Timestamp Color for Better Readability

Open VeVarunSharma opened this issue 1 year ago • 2 comments

Description:

The current bright red color used for timestamp output in the terminal CLI can make it challenging to distinguish between actual errors (which are also typically displayed in red) and the timestamp itself. This can lead to confusion and hinder efficient debugging.

Screenshot 2024-09-28 at 12 52 40 AM

Proposed Solution:

  • Change Timestamp Color: Modify the code to display the timestamp in a different color, such as a neutral tone like gray or blue. This will make it easier to visually separate the timestamp from error messages.

Benefits:

  • Improved Readability: A more distinct timestamp color outside of debug red can enhance the overall readability of the terminal output.
  • Reduced Confusion: By avoiding the use of red for timestamps, we can minimize the risk of false positives and streamline the debugging process.
  • Terminal UX: Abide by terminal UX best practices

VeVarunSharma avatar Sep 29 '24 23:09 VeVarunSharma

Hi @ve-varun-sharma, what version of Defang are you using? (You can check it using defang --version). Also, is this happening every time you run defang compose up, or just sporadically?

defanguserxoxo avatar Oct 01 '24 18:10 defanguserxoxo

Hi @ve-varun-sharma, what version of Defang are you using? (You can check it using defang --version). Also, is this happening every time you run defang compose up, or just sporadically?

Certainly!

defang version 0.5.48

And yes, this is occurring whenever running defang compose up!

VeVarunSharma avatar Oct 05 '24 16:10 VeVarunSharma

Closing in favor of #1493

lionello avatar Oct 03 '25 20:10 lionello