Admin - logging edit options not shown if the server updated with changed logging appender settings.

Description

when the server updated to the latest version(5.3.10.10) from the old version(ex: 5.3.8.206). If the server has changes in the logging appender on the old version means after updating to the latest version the logging page didn't show the edit options.

Ex: I've updated the exception log appender to datasource in the old version. When I updated to the latest version it didn't show the edit options for all the logs on the logging list page (please see attached image).

Environment

None

Attachments

2
  • 23 Feb 2023, 07:28 am
  • 16 Jun 2022, 07:12 am

Activity

Show:

Pothys - MitrahSoft 23 February 2023 at 07:28
Edited

Still I’m facing the same issue in Lucee version 6.0.0.346-BETA too. The edit option is didn't showing on logging page in admin.

Pothys - MitrahSoft 17 June 2022 at 11:43

If I deleted the appender component files ( https://github.com/lucee/Lucee/tree/5.3/core/src/main/java/resource/context/admin/logging/appender ) and restart the lucee means, the admin logging page shows edit option correctly

Pothys - MitrahSoft 17 June 2022 at 10:52
Edited

when the server updated from the old version(ex: 5.3.8.206) to the latest version(5.3.10.10), the appender component( https://github.com/lucee/Lucee/tree/5.3/core/src/main/java/resource/context/admin/logging/appender )
files didn't get updated. So the old log4j class persists in the appender component files ( https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/logging/appender/ConsoleAppender.cfc#L9).) This is causes the admin logging page edit option didn't show.

This commit causes the issue https://github.com/lucee/Lucee/commit/1dc256fe4a46284c8ca04ce8782595d63177124a

Pothys - MitrahSoft 16 June 2022 at 11:37

The regression starts from 5.3.9.134-SNAPSHOT and again the issue was fixed in 5.3.9.136-SNAPSHOT.
But the issue was still there in all the 5.3.10 versions

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 16 June 2022 at 07:12
Updated 23 February 2023 at 09:36