---
title: "analog nginx 日志格式设定"
author: "pingfeng"
date: "2013-01-31T23:26:56Z"
tags: []
categories: ["开源软件"]
slug: "analog-nginx"
draft: false
lastmod: "2013-01-31T23:26:56Z"
id: 1782009
url: "https://pingfeng.iteye.com/blog/1782009"
---

analog用c写的，应该跑的快。虽然跑出来结果没有awstats那么漂亮，但配置简单。用起来舒服。

 

只需要在analog.cfg写两条配置。

LOGFORMAT (%S - - \[%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b "%f" "%B" %j)  
LOGFILE access.log