Skip to content

Commit ef48699

Browse files
committed
Add details
1 parent fbb9be9 commit ef48699

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

content/_index.en.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ The default configuration can be found in `config/default.json`. The full refere
324324
"from": "The address from which to send the email",
325325
"sendWarnings": "Boolean. Set to true to also send email in case of warning",
326326
},
327-
"timestampPrefix": "Boolean. Set to true to prefix the timestamp of the error message with the current date (in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)"
327+
"timestampPrefix": "Boolean. Set to true to prefix the timestamp of the error message with the current date (in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ); see below"
328328
},
329329
"reporter": { // Reporter mechanism to create GitHub issues when terms content is inaccessible
330330
"githubIssues": {
@@ -352,6 +352,10 @@ The default configuration is merged with (and overridden by) environment-specifi
352352

353353
For development, in order to have a local configuration that overrides the existing config, it is recommended to create a `config/development.json` file.
354354

355+
#### Logging
356+
357+
Setting `logger.timestampPrefix` to `false` can be useful when logs are being collected by a process manager (like PM2) that already adds timestamps to log entries. This avoids duplicate timestamps in the logs.
358+
355359
#### Schedules
356360

357361
Schedules for tracking and dataset publication are defined using Cron expressions.

0 commit comments

Comments
 (0)