Skip to content

Log prints should be in single line with limited length #7506

Open
@guymguym

Description

@guymguym

Environment info

  • NooBaa Version: 5.14
  • Platform: NA

Actual behavior

  1. Today our logging prints a lot of new lines as it formats js objects to pretty print it.
  2. This makes it very hard to grep from the logs or parse them.
  3. In addition some prints are accidentally huge and print enormous objects.

Expected behavior

  1. Log prints should be single line and limited in length.

Steps to reproduce

  1. Trivial.

More information - Screenshots / Logs / Other output

FYI @nimrod-becker @dannyzaken - can we fix this and consider also backporting to 5.12/5.13 too?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions