Menu

#173 ${timestamp} variable in format option no longer works since version 4.6.0

4.X
closed
cb4960
bug (17)
2022-03-19
2021-05-10
nnobby
No

${timestamp} variable in format option no longer works since version 4.6.0. Instead now you have to use ${}.
Bug found in UtilsCommon.cpp
Function: QString UtilsCommon::formatLogLine
Line in version 4.5.1:
line.replace("${timestamp}", timestampToStr(timestamp));
Line in version 4.6.0 and later:
line.replace("${}", timestampToStr(timestamp));

Discussion

  • cb4960

    cb4960 - 2022-03-19
    • labels: --> bug
    • status: open --> closed
    • assigned_to: cb4960
     
  • cb4960

    cb4960 - 2022-03-19

    Fixed in v4.6.3. Thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB