Skip to content

Plugin Updated: VIP Init


16 February 2022

18:19:25 GMT+0000

Because of the way how Logger::parse_params() retrieved the backtrace, file and line always pointed to Logger::log2logstash().

This PR fixes that; file/line will now point to the location that invoked Logger::log2logstash(); in case the method was invoked from the log2logstash() function, file/line will point to the caller of log2logstash().

file and line parameters of the payload will now point to the caller of log2logstash() function/method.

https://github.com/Automattic/vip-go-mu-plugins/pull/2915