When logging, var_export creates many new lines, which makes parsing logs difficult, especially if you are logging to a file, e.g. using syslog. Let’s use json encoding instead. This also has the added benefit of being more compact.

Comments

moxojo created an issue. See original summary.

tomtech’s picture

Assigned: Unassigned » tomtech
Status: Active » Needs review
StatusFileSize
new1.01 KB

  • TomTech authored bd2d54a5 on 2.x
    Issue #3382701 by TomTech, moxojo: Use json encode rather than...
tomtech’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.