LoggerLevel
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
This configuration directive was added in version 6.3.2.
Define a log level which log will be output. debug
outputs the most log entries,error
is the most minimal.
If specifies none
or did not specifies any value, the log will not be output.
Values
- debug
- A large amount of the log is output. Movable Type does not use the `debug` logging level, but some plugins are using it. If this level is set as the LoggerLevel, the external log file contains all types of log entries. This level is recommended for a development server.
- info
- A log at this level is just information such as sign-in’s, sign-out’s, and creating new entries. If this level is set as the LoggerLevel, the external log file contains `error`, `warn` and `info` level log entries.
- warn
- This log is a kind of error but it does not impact the running of Movable Type. However, it is better if you check the `warn` log entries because an abnormal situation has occurred.
- error
- This log is recorded in the case of issues affecting the system. For example, when writing to the database or to the file system has failed, or when security issues have occurred. Also, an `error` will be recorded in the case of a security risk such as a sign-in failure.
Default
none
Example
LoggerLevel debug