Skip to content

日志输出能否优化 #24

Description

@ZhouZhaoJi
  1. 我能否将不同的模块的日志输出到不同的地方,而不是都输出到一个文件。
  2. 我能否通过配置文件配置日志消息的格式。
  3. 我还想通过时间间隔滚动日志。
    就像log4cplus一样。我的模块就是用log4cplus作输出的,这样配置人员就要搞两个配置文件,一个是log4cplus的配置文件,另外一个就是nebula的配置文件,里面都有一个log的配置,会让人很疑惑。我原本打算直接调用nebula的log接口,但是这log的接口太简单了,很多特别的日志输出需求完全配置不了。这只是一个优化的建议。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions