码迷,mamicode.com
首页 >  
搜索关键字:access_log    ( 608个结果
CentOS 7 部署nginx
**二进制安装 安装: yum -y install nginx 默认配置文件:/etc/nginx/nginx.conf 默认access日志:/var/log/nginx/access.log 默认web根目录:/usr/share/nginx/html/ 开启方式: 1、nginx 默认加载/ ...
分类:其他好文   时间:2017-06-02 01:08:50    阅读次数:280
Django框架代码和nginx的整合部署
1.nginx安装不在此阐述,直接上关键配置server{listen80;server_name_;access_log/var/log/nginx/platform_admin.logmain;error_log/var/log/nginx/platform_admin_err.log;location/static{root/var/www/platform_admin/resources/;}location/{uwsgi_pass127.0.0.1:9999;inclu..
分类:其他好文   时间:2017-05-27 18:00:30    阅读次数:156
centos7下,解决Apache错误日志文件过大问题
1,日志文件太大问题 第一步:停止Apache服务的所有进程,删除 /var/log/httpd目录下的 error.log、access.log文件 第二步:打开 /etc/httpd/conf 的 httpd.conf配置文件 并找到下面配置 ErrorLog logs/error.log 把上 ...
分类:Web程序   时间:2017-05-27 17:17:13    阅读次数:335
Nginx 访问日志轮询切割
默认情况下 Nginx 会把所有的访问日志生成到一个指定的访问日志文件 access.log 里,但这样一来,时间长了就会导致日志个头很大,不利于日志的分析和处理,因此,有必要对 Nginx 日志,按天或按小时进行切割,使其分成不同的文件保存。 效果: ...
分类:其他好文   时间:2017-05-25 19:43:14    阅读次数:146
nginx日志配置
一.access_log指令语法: access_log path [format [buffer=size [flush=time]]];access_log path format gzip[=level] [buffer=size] [flush=time];access_log syslog ...
分类:其他好文   时间:2017-05-24 10:13:56    阅读次数:170
Nginx Access Log日志统计分析常用命令
NginxAccessLog日志统计分析常用命令NginxAccessLog日志统计分析常用命令IP相关统计统计IP访问量awk‘{print$1}‘access.log|sort-n|uniq|wc-l查看某一时间段的IP访问量(4-5点)grep"07/Apr/2017:0[4-5]"access.log|awk‘{print$1}‘|sort|uniq-c|sort-nr|wc-l查看访问最频繁的前100..
分类:数据库   时间:2017-05-23 21:36:31    阅读次数:177
linux中if[[ $file == r* ]]的空格
[hadoop@mini2 study]$ ./t.sh access.log.1 hahahahtest1.sh hahahaht.sh hahahah 这个结果就不对,因为[[]]中的等号两端没有空格!,加上空格就对了 还有if后面必须有空格,then要和if在同一行then前面必须加上分号; ...
分类:系统相关   时间:2017-05-20 17:14:48    阅读次数:283
01. localhost_access_log 记录post请求参数
环境:apache-tomcat-7.0.57利用Filter过去request请求参数1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556pac... ...
分类:数据库   时间:2017-05-18 01:24:09    阅读次数:411
nginx访问量统计
1.根据访问IP统计UV awk '{print $1}' access.log|sort | uniq -c |wc -l 2.统计访问URL统计PV awk '{print $7}' access.log|wc -l 3.查询访问最频繁的URL awk '{print $7}' access.l ...
分类:其他好文   时间:2017-05-10 13:05:18    阅读次数:156
tomcat6 日志配置说明
1、开启请求访问日志 access.log日志方法(默认关闭) 修改如下配置文件 tomcat/conf/server.xml 将上述注释掉的代码放开,就会产生access.log文件. ...
分类:其他好文   时间:2017-05-10 11:22:10    阅读次数:203
608条   上一页 1 ... 28 29 30 31 32 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!