作者giacch (小a)
看板FreeBSD
标题Re: [问题] 如何把某个php的产生的log塞到一个自定档
时间Fri Oct 31 04:15:09 2008
※ 引述《Arton0306 (Ar藤)》之铭言:
: 冏 我以为会自己建
: 果然自己建好就可以了
: 谢谢!
: 我还有个问题 orz...
: 一般要处理越来越多的log是不是要用logrotate
: 但我查了一下whereis logrotate
: 只看到
: /usr/ports/sysutils/logrotate
: 似乎没安装logrotate
: 在/usr/local/sbin/中也没有logrotate
: 而/var/log中的
: lighttpd.error.log.xx
: lighttpd.access.log.xx
: messages.xx
: .....其它的
: 都会自己rotate
: 这是怎麽做到的
: 自己写sh放到crontab去跑吗
: 但似乎也没看到crontab有跑什麽类似的sh@@
FreeBSD (4.11) 本身有 newsyslog 可以使用...
--
我想要推文... 好吗..?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.232.236.185