Skip to content

Commit

Permalink
Merge pull request #108 from lsst-dm/u/ktlim/logging-date-time
Browse files Browse the repository at this point in the history
Record decision on logging date/time format
  • Loading branch information
ktlim committed Feb 8, 2017
2 parents 43a792d + 3449663 commit 3295ab0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions coding/logging.rst
Expand Up @@ -5,6 +5,11 @@ Logging
This page provides guidance to developers for using logging with :lmod:`lsst.log` in the Science Pipelines code base.
Developers are encouraged to insert log messages whenever and wherever they might be useful, with appropriate component names and levels.

Whether using :lmod:`lsst.log` or any other logging mechanism, timestamps recorded in logs should use Internet `RFC 3339`_ format, which is sortable and includes the timezone. See the discussion in `DM-1203`_ for history.

.. _RFC 3339: http://tools.ietf.org/html/rfc3339
.. _DM-1203: https://jira.lsstcorp.org/browse/DM-1203

.. _logger-names:

Logger Names
Expand Down

0 comments on commit 3295ab0

Please sign in to comment.