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   ·   5432 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 07:48 · PVG 15:48 · LAX 00:48 · JFK 03:48
♥ Do have faith in what you're doing.