分类: LINUX
2012-08-28 14:46:54
resin.conf
access
archive-format="access-%y%m%d.log.gz" format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' rollover-period="1W"/> stdout
archive-format="stdout-%y%m%d.log.gz" timestamp="[%Y.%m.%d %H:%M:%S.%s]" rollover-period="2D"/> sederr
archive-format="stderr-%y%m%d.log.gz" timestamp="[%Y.%m.%d %H:%M:%S.%s]" rollover-period="2D"/>