Skip to main content
Implemented

Monospaced font in Cognite Function call logs

Related products:Functions
  • ibrahim.alsyed
  • rsiddha
  • Lucas Carvalho de Sousa
  • Lucas Leocardo Araujo
  • Rodrigo Nunes Falcão
  • Leandro de Lima Almeida
  • Marissa
  • Saulo Dias
  • Marcos Falcão y Martin
  • Guilherme Marques Ribeiro
  • Pedro Machado
  • Gustavo Henrique Tostes
  • Bruno Muniz Nicacio
  • sebastianheibo.akso
  • viniciusperes
  • Luciana Martins Arêas da Costa
  • Larissa Trindade
  • Bruno Arruda Martins
  • Lucas Fabricio Lopes
  • Marina Souza
  • Leandro Souza dos Santos
    Leandro Souza dos Santos
  • DerekMeese1

Anders Brakestad
Seasoned

I have a small request. The font used to display Logs for a Cognite Function call in CDF is not monospaced. I (and I assume a lot of other developers as well) sometimes format logs with spaces to really make something clear.

The following is actual log messages from an ongoing project:

 

2024-10-09 06:27:37,785 - Config - INFO - Loading secrets from local environment variables.
2024-10-09 06:27:37,787 - deploy.py - INFO - Trigger Branch          : 
2024-10-09 06:27:37,787 - deploy.py - INFO - Target CDF tenant       : Sandbox
2024-10-09 06:27:37,787 - deploy.py - INFO - Asset                   : Ula
2024-10-09 06:27:37,787 - deploy.py - INFO - Function Action Matrix  : fwd-w
2024-10-09 06:27:37,788 - deploy.py - INFO - Log level               : INFO
2024-10-09 06:27:37,788 - deploy.py - INFO - Multi-threading         : False
2024-10-09 06:27:37,788 - deploy.py - INFO - Resetting time series   : False
2024-10-09 06:27:37,788 - deploy.py - INFO - Backup before deploying : False
2024-10-09 06:27:37,788 - deploy.py - INFO - Refresh Power BI report : False

 

This will not render the way intended when the space is not monospaced. Perhaps the CDF developers could change the font to Courier? :)

3 replies

Jørgen Lund
Seasoned Practitioner
  • Product Manager
  • 113 replies
  • November 6, 2024

Hi @Anders Brakestad, thanks for submitting this product idea. We’ll look into it and proivde an update shortly:) 


Jørgen Lund
Seasoned Practitioner
  • Product Manager
  • 113 replies
  • February 6, 2025

@Anders Brakestad This is now released, in addition to:

  • ISO 8601 timestamps, in local time with explicit timezone information
  • Horizontal scroll to avoid line breaks on long lines that made the previous logs messy

Thanks for the feedback and let us know if you have any other product ideas or input


Anders Brakestad
Seasoned

My logs...

 

Thanks a lot! :) 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings