GithubHelp home page GithubHelp logo

Comments (5)

kookob avatar kookob commented on June 3, 2024

@z1153202 控制台的输出日志帮忙粘一下,我这边参考下

from mybatis-log-plugin.

z1153202 avatar z1153202 commented on June 3, 2024

@kookob

17_43_10__08_19_2019

from mybatis-log-plugin.

kookob avatar kookob commented on June 3, 2024

@z1153202 插件只是解析控制台的内容,日志输出顺序如此,插件目前没办法实现解析。
针对需要解析的,你可以手工拷出来,然后自己调整下顺序,然后用"restore sql from text"那个窗口获取你要的sql。

from mybatis-log-plugin.

z1153202 avatar z1153202 commented on June 3, 2024

@kookob
18_45_02__08_19_2019
现在的情况是只解析了第一个sql,后面两个线程sale-performance-statis-1,sale-performance-statis-4没解析

如果用restore sql from text的话,不用换顺序就能解析。
18_54_06__08_19_2019

from mybatis-log-plugin.

kookob avatar kookob commented on June 3, 2024

@z1153202 那是因为你这几条语句都没有参数的,所以from text能解析正常。
插件只能处理控制台输出的最近两行,所以多线程这种场景,没办法处理。

from mybatis-log-plugin.

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.