a script
[[emailprotected] php-fpm.d]# vim /data/wwwroot/test.com/sleep.php 编辑个脚本写入下边的代码Open_basedir
Editing a configuration file
[[emailprotected] php-fpm.d]# vim /usr/local/php-fpm/etc/php-fpm.d/www.conf ##加入以下配置php_admin_value[open_basedir]=/data/wwwroot/test.com:/tmp/
Start
Test
Viewing the error log
To define the PHP-FPM error log.
/default$fastcgi_script_name;}}6, [[email protected] ~]#/etc/init.d/nginx Reload7, you can see that there are two of the pool[[Email protected] ~]# PS aux |grep php-fpmPHP-FPM 8403 0.0 0.2 227144 4808? S 17:22 0:00 Php-fpm:pool wwwPHP-FPM 8423 0.0 0.2 227144 4812? S 17:22 0:00 Php-fpm:pool test.comTo add a php-fpm.conf child configuration fileTo facilitate the management of php-fpm.conf on the configuration file, similar to Nginx on the virtual host c
Binding for Java.util.logging, also referred to as JDK 1.4 logging
Slf4j-nop-1.7.9.jar
Binding for NOP, silently discarding all logging.
Slf4j-simple-1.7.9.jar
Binding for simple implementation, which outputs all events to System.err. Only messages of level INFO and higher is printed. This binding is useful in the context of small applications.
Slf4j-jcl-1.7.9.jar
messageSpecify the level:* indicates all levelsNone No LevelPriority directly specifies a level that contains all above this level=priorty This level onlyDefine the level and category of a log to be specified by: category. Level log storage path.Facitlity.priority TargetThe mechanism of the pass distribution:* AllList! Take counterSuch as:Mail.info/var/log/maill
Seven Qiniu Intelligent Log management platform realizes the whole life cycle intelligent management of data.
Suitable for typical applications such as data center monitoring, application quality management, unified log Management
The general permission management system records a problem in the logon log.
Recently, a project was developed using the general permission management system. The database is MSSQL. An error occurs during logon and the log is recorded.
The log is recorded every time you
Nginxhttps encryption and nginx log configuration and management use the advantages of Nginx as a WEB server, Nginx is highly efficient in processing static files, index files, and automatic indexing. As a proxy server, Nginx can implement non-cache reverse proxy to improve website performance. Nginx https encryption and Nginx log configuration and
Linux server log management-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Logs are very important for security. They record all kinds of events that occur in the system every day. You can use them to check the cause of the error or the traces left by the attacker when the system is attacked. The main functions of logs are audit and monitoring
the target database with the SYS user as SYSDBA, and then execute the archivelog List command to view the database archive mode:Close the database and start the database to Mount stateUse the ALTER DATABASE Archivelog command to set the database to archive mode and verify that the archive mode of the database has changedGet archived log informationThe data dictionary view helps you get database configuration information. Users get archived
MySQL log management (3) reset master;
Purge master logs before '2017-05-22 01:00:00 ';
[Mysqld]
-- Expire_logs_days = 3
------------------------------------------------
1: binary log
Binary logs record all DDL (Data Definition Language) statements and DML (data operation language) statements, but do not record statements that contain data queries. The stateme
SpringAop log management
Spring AOP
1.Understanding of AOP-the idea of division of labor for each part and integration during runtime
2.Understanding process-oriented, object-oriented, and Aspect-oriented ideas
1)Process-oriented: when the room is decorated, prepare a lamp and pull a wire to connect the lamp.
2)Object-oriented: design the locations in the room where the wire interface needs to be used
. Query logAll SQL statements contain select.How to Save: File or table (General_log)To be permanently active, you need to set the switch parameter in the profile to enable, default off (off)The file location parameter is General_log, the parameter has been displayed set to 1 or not set to be enabled, and the setting to 0 indicates disabled.Related parametersGeneral_log_file, if no value is specified, or the value of the setting Log_output is not displayed, it is placed by default in the DataDir
First , four w in the logWhen: event occursWhere: Where is the log generatedWHO: Which programs triggered this logWhat happened?Second Simple log collection topologyNetwork devices, servers through the protocol Syslog to the log server, log server regularly archived logs, stored on the back-end storage devices.The comm
If you cannot log on to the management interface when using a vro, troubleshoot the problem as follows:For more information about how to connect a vro through a wired connection, seeWired connectionTroubleshoot. If you are using a wireless connection to connect to a vro, referWireless connectionTroubleshoot.1Wired connectionMake sure that the network is connected according to the configured topology, and ch
number] command in cmd. (For websites, FTP may not work, for example, 226,230)
The command is as follows: Net helpmsg 0; net helpmsg 100; net helpmsg 200;
IIS Log Path
Default location: % SystemRoot % \ system32 \ logfiles.
The IIS log time is 8 hours different from the local time:
The real reason is that IIS uses W3C extended log file format by default, while W
Unity3d log management, mainly to distinguish the importance of log, and sometimes used in the project development process at random to log, to the late log more and chaotic situation, in the real machine debugging will be very inconvenient.Here is a record of the most recen
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.