proftp日志时间问题(已解决)

david123
proftp日志时间问题(已解决)

::ffff:xxx.xxx.xxx.xxx UNKNOWN bz [10/Apr/2008:09:08:35 +0000] "RETR /monitor.txt" 226 3
这是proftp的access.log的一条日志
请问各位大哥 怎么把+0000改成+0800?

[[i] 本帖最后由 david123 于 2008-4-11 10:02 编辑 [/i]]

david123
回复 #1 david123 的帖子

我自己顶~

terree
回复 #2 david123 的帖子

有个dirty的办法,好像给系统里的时间文件 做个软链接,将 GMT 00 -> {GMT +8}

具体做法记不清了。

david123
[quote]原帖由 [i]terree[/i] 于 2008-4-10 21:27 发表 [url=http://bbs.chinaunix.net/redirect.php?goto=findpost&pid=8196575&ptid=1078089][img]http://bbs.chinaunix.net/images/common/back.gif[/img][/url]
有个dirty的办法,好像给系统里的时间文件 做个软链接,将 GMT 00 -> {GMT +8}

具体做法记不清了。 [/quote]
就是这种做法~~具体怎么做我忘了,555

david123
[quote]原帖由 [i]david123[/i] 于 2008-4-10 21:32 发表 [url=http://bbs.chinaunix.net/redirect.php?goto=findpost&pid=8196599&ptid=1078089][img]http://bbs.chinaunix.net/images/common/back.gif[/img][/url]

就是这种做法~~具体怎么做我忘了,555 [/quote]
通过google竟然搜索到了UC 以前的一篇帖子,找到了方法
ln -s /usr/share/zoneinfo/Asia/Shanghai /usr/share/zoneinfo/CST
万能的google啊,太强大了