MCPcopy
hub / github.com/benoitc/gunicorn / now

Method now

gunicorn/glogging.py:376–378  ·  view source on GitHub ↗

return date in Apache Common Log Format

(self)

Source from the content-addressed store, hash-verified

374 self.error(traceback.format_exc())
375
376 def now(self):
377 """ return date in Apache Common Log Format """
378 return time.strftime('[%d/%b/%Y:%H:%M:%S %z]')
379
380 def reopen_files(self):
381 if self.cfg.capture_output and self.cfg.errorlog != "-":

Callers 15

atomsMethod · 0.95
handle_errorMethod · 0.80
handle_requestMethod · 0.80
handle_http2_requestMethod · 0.80
handle_requestMethod · 0.80
handle_http2_requestMethod · 0.80
handle_requestMethod · 0.80
generate_markdownFunction · 0.80
mainFunction · 0.80
_connect_smtpMethod · 0.80
send_emailMethod · 0.80
__call__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected