That's not going to work because all of this stuff...
On Sun, Nov 8, 2015 at 9:40 PM, tolerious feng
wrote:
> TODAY_STRING = datetime.datetime.now().strftime("%F")
> TODAY_LOG_DIR = os.path.dirname(__file__) + "/log/" + TODAY_STRING
> # TODAY_LOG_DIR = "/log/" +
Dalgıç <s...@serdardalgic.org>
FLOSS Developer, Life & Nature Hacker
twitter:
https://twitter.com/serdaroncode
https://twitter.com/serdarintowild
On Mon, Nov 9, 2015 at 4:40 AM, tolerious feng <toleriousn...@gmail.com>
wrote:
> I want to write django log to different, especially
I want to write django log to different, especially I want to log daily log
file, such as 2015-11-09-log.txt 2015-11-10-log.txt, this is my
settings.py file:
TODAY_STRING = datetime.datetime.now().strftime("%F")
TODAY_LOG_DIR = os.path.dirname(__file__) + "/log/" + TODAY_ST
3 matches
Mail list logo