YUNIKORN-62 a nil pointer caused a panic. The fix was to change the log call from a Duration to a String.
The real issue is the fact that the encoders for certain types are not set in the logger. This is most likely an OS or internationalisation configuration related issue. In the code we fail here:
That links to the source code here:
That can only happen if the EncodeDuration function is nil.
This links back to a similar zap issue #645 for time stamps. In the comments it says that the encoders are not optional for certain parts. We should make sure that the encoders are set correctly as that looks like it is the correct solution.