pierrejeambrun commented on code in PR #24403:
URL: https://github.com/apache/airflow/pull/24403#discussion_r895922298


##########
airflow/www/static/js/grid/details/content/taskInstance/Logs/index.jsx:
##########
@@ -86,55 +94,95 @@ const Logs = ({
     execution_date: executionDate,
   }).toString();
 
+  const { parsedLogs, logGroups = [] } = useMemo(() => parseLogs(
+    data,
+    timezone,
+    logLevelFilter,
+    logGroupFilter,
+  ),
+  [data, logGroupFilter, logLevelFilter, timezone]);
+
+  useEffect(() => {

Review Comment:
   Normally there is no need for the logLevel as these options are hard coded 
in utils/logLevel. So there is no way options could "disappear" from one task 
to another. (Which is not the case with the attempt number and source file 
filter).



-- 
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]

Reply via email to