Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10463

atlassian-bitbucket-diy-backup: Timestamp entries in the utils.sh backup script

XMLWordPrintable

    • 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      It is useful to know how long each operation within the Bit Bucket DIY backup is taking.

      In the utils.sh backup script, it would be useful if log entries were time stamped by adding a timestamp function as follows:

      function timestamp() {
      date +'%Y-%m-%d_%H:%M:%S'
      }
      
      # Log a message to the console without adding standard logging markup
      function print {
      echo "$(timestamp) $@"
      }
      

              Unassigned Unassigned
              ba6ccbe0c835 John Lawlor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: