Project: datamanagement
Issue DM-2430: Make qserv server-side log messages more standard
Qserv server-side Python logging appears to mostly use a common format: "{{%(asctime)s %(name)s %(levelname)s: %(message)s}}". It also mostly uses a common date format: "{{%m/%d/%Y %I:%M:%S}}". But I see instances of: * "{{%(asctime)s %(levelname)s %(message)s}}" * "{{%(asctime)s - %(name)s - %(levelname)s - %(message)s}}" * "{{%(asctime)s \{%(pathname)s:%(lineno)d\} %(levelname)s %(message)s}}" * and now, after DM-2176, "{{%(asctime)s \[PID:%(process)d\] \[%(levelname)s\] (%(funcName)s() at %(filename)s:%(lineno)d) %(name)s: %(message)s}}" Unless these are used in very different contexts, it will aid automated log processing for them to be more standardized. In addition, the date format is unacceptable as it does not use RFC 3339 (ISO8601) format and does not include a timezone indicator (which means the default {{datefmt}} is insufficient). This must be fixed. See also DM-1203.
Story points: 1