potiuk commented on code in PR #21942:
URL: https://github.com/apache/airflow/pull/21942#discussion_r848665683
##########
airflow/www/static/js/ti_log.js:
##########
@@ -99,7 +99,7 @@ function autoTailingLog(tryNumber, metadata = null,
autoTailing = false) {
// Detect urls and log timestamps
const urlRegex =
/http(s)?:\/\/[\w.-]+(\.?:[\w.-]+)*([/?#][\w\-._~:/?#[\]@!$&'()*+,;=.%]+)?/g;
- const dateRegex = /\d{4}[./-]\d{2}[./-]\d{2} \d{2}:\d{2}:\d{2},\d{3}/g;
+ const dateRegex = /([^'])(\d{4}[./-]\d{2}[./-]\d{2})[T
](\d{2}:\d{2}:\d{2})(?:[.,](\d{3,6}))?(\+\d{2}:?\d{2})?([^'])/g;
Review Comment:
1. Why do we change parts of the web UI when the change concerns only
elasticsearch? What happens here if other loggers are used ? Will tha timpact
them as well? How?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]