andyy2012's recent timeline updates
andyy2012

andyy2012

V2EX member #195419, joined on 2016-10-10 14:36:36 +08:00
andyy2012's recent replies
Nov 28, 2017
Replied to a topic by CodeDrift 问与答 请教个 django logging 日志按天分组的问题
设置 handlers 的 filename 时获取时间应该可以吧?
```python
'filename': os.path.join(PROJECT_ROOT, 'log/info_%s.log' % (time.strftime("%F", time.localtime()))),
```
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1120 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 17:50 · PVG 01:50 · LAX 10:50 · JFK 13:50
♥ Do have faith in what you're doing.