Logs log file too many how to turn off the log function ———— thinkphp

Source: Internet
Author: User

The files under Project/runtime/logs/generate a lot, and are all 1m-2m txt files
Some sites are covered with small spaces. Which prawn knows how to turn off this log function
' Db_sql_log ' = false,//SQL execution logging

/* Log Settings */
' Log_record ' = false,//log not logged by default
' Log_type ' = 3,//logging type 0 System 1 message 3 file 4 SAPI default to File mode
' Log_dest ' = ' + ',//log record target
' Log_extra ' + ', '//Logging additional information
' Log_level ' = ' emerg,alert,crit,err ',//allow logging of logging levels
' Log_file_size ' = 2097152,//log file size limit
' Log_exception_record ' = false,//whether the Exception log is logged

These are the default settings, it is already false ah ...

Logs log file too many how to turn off the log function ———— thinkphp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.