Giter VIP home page Giter VIP logo

Comments (2)

charsbar avatar charsbar commented on September 21, 2024

Previously MT discarded all the log messages unless you explicitly configure it to log them to a file, which makes it harder for us to investigate when something unexpected happens. 4607 has changed its logger to print messages to stderr (hoping for them to be collected by other log collector etc) unless configured otherwise.

https://movabletype.org/documentation/appendices/release-notes/7.3.0.html

Now you have two options: 1) set LoggerLevel to something other than the default 'info' ('none', 'warn', 'error', depending on your need). 2) set LoggerModule and LoggerPath to log messages to a file (instead of stderr).

https://movabletype.org/documentation/appendices/config-directives/loggerlevel.html
https://movabletype.org/documentation/appendices/config-directives/loggermodule.html
https://movabletype.org/documentation/appendices/config-directives/loggerpath.html

We are also going to lower the level of the above log messages to 'debug' so that they are not logged by default (#1337).

from movabletype.

binghuiyin avatar binghuiyin commented on September 21, 2024

Thanks for your help.
I add the loglevel to warn in the config file.
Most of these kinds of info type of logs are from searchs. I don't think Search should be put into the Nginx log.

from movabletype.

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.