Skip to content

Commit

Permalink
Make the syslog logger respect the syslog normalized format
Browse files Browse the repository at this point in the history
fix #577
  • Loading branch information
LotharSee committed Jul 17, 2013
1 parent d3925a1 commit 717a5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def get_log_format(logger_name):


def get_syslog_format(logger_name):
return '%%(levelname)s | dd.%s | %%(name)s(%%(filename)s:%%(lineno)s) | %%(message)s' % logger_name
return 'dd.%s[%%(process)d]: %%(levelname)s (%%(filename)s:%%(lineno)s): %%(message)s' % logger_name


def get_logging_config(cfg_path=None):
Expand Down

0 comments on commit 717a5fd

Please sign in to comment.