Conversation
Add %(name)s to log format so log messages are prefixed with the logger's name. Signed-off-by: Andy Goldstein <agoldste@redhat.com>
|
On Mon, Oct 06, 2014 at 06:49:31AM -0700, Andy Goldstein wrote:
Looks fine to me, although I would have probably gone with: '%(asctime)s %(name)s %(levelname)s: %(message)s' |
|
@wking I can do that. Do you want me to switch it now or wait for others to chime in? |
|
On Mon, Oct 06, 2014 at 08:39:49AM -0700, Andy Goldstein wrote:
It's not my call, so you should probably wait ;) |
|
I don't have hard feelings on this. A couple comments though:
|
|
FYI django's recommended logger formats look like so: Take what you will from it :) |
|
On Mon, Oct 06, 2014 at 10:22:33AM -0700, Matthew Fisher wrote:
I'm happy to reuse an existing standard. My suggestion was just |
|
@wking @bacongobbler @ncdc please go ahead:
|
|
May be Flask or Tornado formats? |
|
@ncdc willing to own this and get it through? |
|
@dmp42 sure, I'll update the PR. @wking the reason I put the logger's name in [brackets] is that I'm used to JBoss log formatting, which typically does the class name that way. I've found that if we specify Thoughts? |
|
On Thu, Oct 30, 2014 at 08:07:08AM -0700, Andy Goldstein wrote:
Ah, nice. In that case, pick whatever default you like ;). |
|
Exactly :-) So we just need a reasonable default logging.conf. |
|
friendly bump :) |
|
@dmp42 we're ok closing in favor of waiting for v2 |
|
Ok, thanks @ncdc ! |
Add %(name)s to log format so log messages are prefixed with the
logger's name.
Signed-off-by: Andy Goldstein agoldste@redhat.com