码迷,mamicode.com
首页 >  
搜索关键字:error_log    ( 1036个结果
nginx日志配置
日志对于统计排错来说非常有利的。本文总结了nginx日志相关的配置如access_log、log_format、open_log_file_cache、log_not_found、log_subrequest、rewrite_log、error_log。nginx有一个非常灵活的日志记录模式。每个级...
分类:其他好文   时间:2015-03-16 14:21:19    阅读次数:195
nginx 优化
1.用Nginx做Web服务器,如果没有处理好日志,日志文件可能会很恐怖~10G、20G。可以修改nginx.conf 找到access_log: access_log /dev/null; error_log /dev/null; 这样全部把他们丢到系统的黑洞里了。不用每时每刻都往系统磁盘疯...
分类:其他好文   时间:2015-03-13 20:43:28    阅读次数:91
PHP error_log() 函数
定义和用法error_log() 函数向服务器错误记录、文件或远程目标发送一个错误。若成功,返回 true,否则返回 false。语法error_log(error,type,destination,headers)参数描述error必需。要记录的错误消息。type可选。规定错误记录的类型。可能的记...
分类:Web程序   时间:2015-03-12 11:18:03    阅读次数:135
安装cacti笔记
一、下载,复制到自定义的虚拟主机目录下虚拟主机配置文件如下<VirtualHost*:80> DocumentRoot"/www/cacti" ServerNamecacti.a.com ErrorLog"/var/log/httpd/cacti.a.com-error_log" CustomLog"/var/log/httpd/cacti.a.com-access_log"common <Directory"/www/cacti"&..
分类:其他好文   时间:2015-03-07 06:22:46    阅读次数:167
Nginx配置文件详细说明
在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络.#运行用户user www-data;#启动进程,通常设置成和cpu的数量相等worker_processes 1;#全局错误日志及PID文件error_log /var/log/nginx/error.log;pi...
分类:其他好文   时间:2015-03-05 16:14:59    阅读次数:137
shopnc nginx优化配置文件
user www;worker_processes 2;error_log /var/log/nginx/error.log error;#error_log logs/error.log notice;#error_log logs/error.log info;pid /var/ru...
分类:其他好文   时间:2015-03-03 16:35:35    阅读次数:151
nginx支持flv MP4 扩展nginx_mod_h264_streaming,nginx-rtmp-module-master,yamdi
./configure \--prefix=/usr/local/nginx \--sbin-path=/usr/local/nginx/sbin/nginx \--conf-path=/usr/local/nginx/conf/nginx.conf \--error-log-path=/usr/l...
分类:其他好文   时间:2015-03-03 14:57:29    阅读次数:1048
Mysql打开日志的方法
直接运行一下代码就可以: log-error=log-error.log log=log.log log-bin=log-bin.log log-queries-not-using-indexes=log-queries-not-using-indexes.log log-warnings=1 log-slow-queries=log-slow-query.log log-u...
分类:数据库   时间:2015-02-14 12:26:22    阅读次数:152
WordPress在nginx服务器伪静态
server { listen 80; root /var/www/xxx; server_name www.xxx.com; access_log /var/log/www/xxx.log main; error_log /var/log/www/xxx_error.log; locati...
分类:其他好文   时间:2015-02-13 14:46:50    阅读次数:102
简单的nginx+2台tomcat负载均衡(自己记录)
#usernobody; #工作进程数(worker),一般等于cpu内核数或者两倍 worker_processes2; #error_loglogs/error.log; #error_loglogs/error.lognotice; #error_loglogs/error.loginfo; #pidlogs/nginx.pid; events{ worker_connections1024; } http{ includemime.types; defau..
分类:其他好文   时间:2015-02-13 11:46:58    阅读次数:206
1036条   上一页 1 ... 86 87 88 89 90 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!