GithubHelp home page GithubHelp logo

Comments (10)

StarlightIbuki avatar StarlightIbuki commented on May 27, 2024 1

@fairyqb I guess you are logging in a timer? Or even in the log phase handler?
Due to a limitation of the current implementation of kong.log, it sometimes messes up the namespace after yielding into a timer.

from kong.

chobits avatar chobits commented on May 27, 2024

hi @fairyqb could you give us the detailed steps to reproduce?

from kong.

fairyqb avatar fairyqb commented on May 27, 2024

kong.log.err in the plug-in to record logs. There are multiple plug-ins in the production environment, which cannot be easily reproduced. Occasionally, the log records in the log file are disordered.

from kong.

chronolaw avatar chronolaw commented on May 27, 2024

Hi @fairyqb , we can not re-produce this issue in our environment, could you give us more details? thanks.

from kong.

StarlightIbuki avatar StarlightIbuki commented on May 27, 2024

@ADD-SP I feel this could be solved by an enhancement of the timer library. What do you think?

from kong.

github-actions avatar github-actions commented on May 27, 2024

This issue is marked as stale because it has been open for 14 days with no activity.

from kong.

ADD-SP avatar ADD-SP commented on May 27, 2024

@ADD-SP I feel this could be solved by an enhancement of the timer library. What do you think?

@StarlightIbuki The timer-ng was not designed for solving issues not associated with timing tasks.

from kong.

chobits avatar chobits commented on May 27, 2024

As I discussed with @StarlightIbuki offline, there might not be an easy way to resolve this issue. Since it’s a minor problem that doesn’t affect kong’s operation, we may not address it at the moment. We need to find an effective method to pass the plugin name to its created timer.

Associated code line: https://github.com/Kong/kong-ee/blob/3e1dab321151c0c5e3c0e38dcd4370aad4a875a4/kong/runloop/plugins_iterator.lua#L625

Internal issue: KAG-4252

from kong.

github-actions avatar github-actions commented on May 27, 2024

This issue is marked as stale because it has been open for 14 days with no activity.

from kong.

github-actions avatar github-actions commented on May 27, 2024

Dear contributor,

We are automatically closing this issue because it has not seen any activity for three weeks.
We're sorry that your issue could not be resolved. If any new information comes up that could
help resolving it, please feel free to reopen it.

Your contribution is greatly appreciated!

Please have a look
our pledge to the community
for more information.

Sincerely,
Your Kong Gateway team

from kong.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.