MongoDB log Rotation
MongoDB can use a standard method to rotate logs, that is, to obtain the current log and enable a new one. To achieve this, the mongod instance renames the current log file by adding a UTC (GMT) timestamp at the end of the file
Fully understand the log function in PHP's Yii Framework and fully understand yii. Fully understand the log function in the PHP Yii Framework, and fully understand that the yiiYii page-level log is enabled in Main. add log segments in php and
MongoDB can use a standard method to rotate logs, that is, to obtain the current log and enable a new one. To achieve this, the mongod instance adds UTC (GMT
MongoDB can use a standard method to rotate logs, that is, to obtain the current log and
A comprehensive explanation of the log function in the PHP Yii framework and a comprehensive explanation of yii
Yii page-level log EnabledIn Main. php, add,The following shows the page log array ('class' => 'weblogroute ', 'levels' => 'track', //
Yii page-level logs are enabled in Main. in php, the log segment is added and the page log array (classCWebLogRoute, levelstrace, level: tracecategoriessystem. db. * Only information about the database is displayed, including database connection and
Comprehensive interpretation of the log function in the YII framework of PHP and a comprehensive interpretation of yii
Yii page-level log OpenIn main.php, the log segment is added,The following shows the page log array (' class ' = ' Cweblogroute '
This article mainly introduces the logs in the PHP Yii Framework. log analysis is the basis for daily website maintenance. Yii provides powerful log functions. For more information, see
Yii page-level log enabledIn Main. php, add,
The following
Set up rsyslog log server in CentOS
Functions provided by the software:
1. rsyslog is a log service of RHEL or centos 6. x, replacing the syslog service of the previous system. In this architecture, the rsyslog service is mainly used to collect logs,
Directory:
Introduction of Environment ConfigurationIi. introduction of RsyslogThird, Rsyslog configurationIv. Introduction and configuration of LoganalyzerV. FAQ
Introduction of Environment Configuration
1. Introduction of experimental
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.