Changes between Initial Version and Version 1 of Ticket #27687


Ignore:
Timestamp:
Jan 5, 2017, 6:55:27 AM (8 years ago)
Author:
Tim Graham
Comment:

Hi, I don't think this has anything to do with Django -- it's just using Python's logging module. Maybe this Stackoverflow question helps. For future reference, please ask "is it a bug?" questions on our support channels rather than in the bug tracker. Thanks!

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27687

    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #27687 – Description

    initial v1  
    33I faced some problem using log formatter.
    44
    5 I want to present date format of log like '%Y-%m-%d %H:%M:%S.%f%z' but %f is not work.
     5I want to present date format of log like `'%Y-%m-%d %H:%M:%S.%f%z'` but `%f` doesn't work.
    66
    77My formatters setting is like this.
    8 
    9 '''
     8{{{
    109'formatters': {
    1110        'verbose': {
     
    1716        },
    1817    },
    19 '''
     18}}}
     19The log `%(asctime)s` is printed "2017-01-05 13:54:24.f+0900"
    2020
    21 The log %(asctime)s is printed "2017-01-05 13:54:24.f+0900"
    22 
    23 Is this bug? or intented behavior?
     21Is this bug? or intended behavior?
Back to Top