Clicking on the logs in System Admin page does not show the latest logs

Description

The System Admin page hardcodes the stop time in the logs link. Unless the System Admin page is refreshed, the link does not get updated. This leads to not seeing logs that are newer than the last time the System Admin page was refreshed.

Is the stop time needed in the link?

 

Release Notes

None

Activity

Show:

Edwin Elia March 23, 2019 at 12:02 AM

Vinisha Shah March 22, 2019 at 11:45 PM

There is no need fore stop time. If its not specified, log handler will use current time as stop time. https://github.com/cdapio/cdap/blob/develop/cdap-watchdog/src/main/java/co/cask/cdap/logging/gateway/handlers/AbstractLogHandler.java#L166 

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Affects versions

Components

Fix versions

Priority

Created March 22, 2019 at 11:39 PM
Updated March 23, 2019 at 12:51 AM
Resolved March 23, 2019 at 12:51 AM