join the community conversations

5000+
active members

Logging & Performance

Comments

5 comments

  • Avatar
    Steve Vink
    business solutions architect
    Word Weaver
    PIMpoint 2023 Americas
    First Responder

    Great post Alex. This is back to the days of on-prem, where this setting was available to suppress the log levels (but at a general system-wide level, rather than for each extension).

    I remember being a little apprehensive when I realised that iPMC logged everything, with no on/off switch. It's good to see some metrics and a strategy for making improvements.

    0
  • Avatar
    Roy Eriksson
    inriver champion

    Great read and findings Alex Moss (ICP), thanks for sharing! 👍

    As always, the less you (need to) do, the faster it goes. 😄

    0
  • Avatar
    Mark Stuart-Walker

    This aligns to what I now do on every extension. The code always has the logging in place but a setting threshold controls if it finally commits to the Context log or not. Previously, I controlled logging by uncommenting lines in the code and deploying - very cumbersome.

    It would be nice for this to be added as a standard feature within the Context entity.

    0
  • Avatar
    Florian Lemaire

    We did the same constat a while... since, we are using a setting minimum_log_level to control what level of logging is passing to remoting.

    Also, there is is similar setting and behavior ootb in the Integration Framework with IIF_LOGLEVEL  and LOG_LEVEL settings https://community.inriver.com/hc/en-us/articles/360019726800 

    0
  • Avatar
    Alex Moss (ICP)
    inriver champion
    Top Contributor
    First Responder

    Yes we actually implemented the feature a long time ago as a way to keep the logs clean when the additional information was not needed.

    We didn't recognize the performance impact of the logging until recently.

     

    0

Please sign in to leave a comment.