
1 cxh116 2013-06-27 16:16:28 +08:00 |
4 keakon 2013-06-27 21:07:18 +08:00 |
7 Livid MOD PRO |
8 swulling 2013-06-30 01:49:34 +08:00 |
10 keakon 2013-06-30 13:38:38 +08:00 @akira 原文有提到,发给一个进程即可,例如 supervisor。 知乎是通过 Redis 来接收和处理日志,并将其 publish 出去,使订阅者可以实时监测感兴趣的日志。 |
12 wangtao OP 把 > 改为 >> 就是追加内容了。 有了关键字就好 Google 了。。 http://leohot.blog.163.com/blog/static/1348656022012729113658473/ |
13 ma6174 2013-07-01 10:13:42 +08:00 |
14 cj1324 2013-07-01 10:17:32 +08:00 sys.stderr = open('/var/xxx.log', 'w') print >>sys.stderr, 'hello exception' |
15 ma6174 2013-07-01 10:31:28 +08:00 |
16 fansgentle 2013-07-01 11:53:58 +08:00 @keakon 现在在知乎了?年前应该不是吧~~ |
17 keakon 2013-07-01 12:49:44 +08:00 @fansgentle 去了 3 个月了=。= |