renovatebot/renovate

Option to display timestamps in human-readable logs

Open

#5980 opened on Apr 15, 2020

View on GitHub
 (3 comments) (7 reactions) (0 assignees)TypeScript (14,066 stars) (1,916 forks)batch import
help wantedpriority-4-lowself-hosted

Description

What would you like Renovate to be able to do? Add date/time in logs

Describe the solution you'd like An example of logs with date/time :

 4/16/2020, 12:48:12 AM  INFO: Repository started (repository=my_repo)
        "renovateVersion": "19.210.0"
 4/16/2020, 12:48:17 AM  INFO: Extraction statistics (repository=my_repo)
        "stats": {
          "managers": {
            "maven": {"fileCount": 6, "depCount": 64},
            "npm": {"fileCount": 1, "depCount": 48},
            "regex": {"fileCount": 1, "depCount": 3}
          },
          "fileCount": 8,
          "depCount": 115
        }

Describe alternatives you've considered Actualy, I do this patch in pretty-stdout.js: sed -i "s/return util.format(/return util.format(new Date().toLocaleString()+' '+/g" dist/logger/pretty-stdout.js

Contributor guide