renovatebot/renovate

Option to display timestamps in human-readable logs

Open

#5,980 建立於 2020年4月15日

在 GitHub 查看
 (3 留言) (7 反應) (0 負責人)TypeScript (14,066 star) (1,916 fork)batch import
help wantedpriority-4-lowself-hosted

描述

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

貢獻者指南