Skip to content
Snippets Groups Projects
  • Robert Schmidt's avatar
    321b1c4c
    Increase maximum logging line length for in-memory log · 321b1c4c
    Robert Schmidt authored and Teodora Vladic's avatar Teodora Vladic committed
    - Increase the maximum logging line for print done through
      log_output_memory().
      The reason is that we hit this line length when printing some machine
      generated configuration (XML) through the M-plane.  Increase to make
      more of it visible.
    - To limit the impact, only increase this locally in function
      log_output_memory(), and statically assert that it will never be
      larger than 64 kB.
      In other places, we use the old limit.
    - Move the definition MAX_LOG_TOTAL to log.c, because it's only used
      there.
    321b1c4c
    History
    Increase maximum logging line length for in-memory log
    Robert Schmidt authored and Teodora Vladic's avatar Teodora Vladic committed
    - Increase the maximum logging line for print done through
      log_output_memory().
      The reason is that we hit this line length when printing some machine
      generated configuration (XML) through the M-plane.  Increase to make
      more of it visible.
    - To limit the impact, only increase this locally in function
      log_output_memory(), and statically assert that it will never be
      larger than 64 kB.
      In other places, we use the old limit.
    - Move the definition MAX_LOG_TOTAL to log.c, because it's only used
      there.