Giter VIP home page Giter VIP logo

Comments (9)

lagnx avatar lagnx commented on June 24, 2024

在Idea中Spring的日志是可以按照如上所述分别显示的。简单看了一下,solon中日志输出是直接System.out.println输出的,Spring中日志输出似乎是通过PrintStream输出的,不清楚Idea是如何将日志分开的。

from solon.

noear avatar noear commented on June 24, 2024

使用的日志插件不同,会用不同的方案:)

from solon.

noear avatar noear commented on June 24, 2024

你现在可能用的是:solon.logging.simple 。换成 solon.logging.logback 试试看

from solon.

lagnx avatar lagnx commented on June 24, 2024

我觉得可能和日志插件无关,因为是最开始的日志是 Solon 类使用内部的日志工具 LogUtil 输出的。
当然我也尝试了更换为 solon.logging.logback,但是结果依然是这样

from solon.

noear avatar noear commented on June 24, 2024

你研究试试?

from solon.

lagnx avatar lagnx commented on June 24, 2024

我试试

from solon.

lagnx avatar lagnx commented on June 24, 2024

感觉很难解决,输出按照不同标签进行划分和 Idea 捆绑的 Junit 插件有关
而且测试其他工程时发现使用 Junit5 之后这个问题就解决了(上面的是 Junit4)

from solon.

lagnx avatar lagnx commented on June 24, 2024

所以我打算关闭这个问题了 :<

from solon.

noear avatar noear commented on June 24, 2024

好关闭:)

from solon.

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.