Skip to content

Reduce log level for PersistenceManager deserialization problems to INFO#9525

Open
matthiasblaesing wants to merge 1 commit into
apache:deliveryfrom
matthiasblaesing:persistence_manager
Open

Reduce log level for PersistenceManager deserialization problems to INFO#9525
matthiasblaesing wants to merge 1 commit into
apache:deliveryfrom
matthiasblaesing:persistence_manager

Conversation

@matthiasblaesing

Copy link
Copy Markdown
Contributor

As part of 892e14c the default detail level of the logging of PersistenceManager problems was reduced and is only retained if FINE lgging is enabled. On the other hand the log level for the shorted message was raised to WARNING from INFO.

This causes the problem to become visible to the end user. Logs with level WARNING and an attached exception cause a visible notification via the chain:

NbErrorManager -> NotifyExcPanel#notify -> NotifyExcPanel#shallNotify

This in turn even shows the detailed message because the content of the serialization problem is attached to the exception via

Exceptions.attachLocalizedMessage

in XMLSettingsSupport.

Closes: #9524

As part of 892e14c the default detail
level of the logging of PersistenceManager problems was reduced and is
only retained if FINE lgging is enabled. On the other hand the log
level for the shorted message was raised to WARNING from INFO.

This causes the problem to become visible to the end user. Logs with
level WARNING and an attached exception cause a visible notification
via the chain:

NbErrorManager -> NotifyExcPanel#notify -> NotifyExcPanel#shallNotify

This in turn even shows the detailed message because the content of the
serialization problem is attached to the exception via

Exceptions.attachLocalizedMessage

in XMLSettingsSupport.

Closes: apache#9524
@matthiasblaesing matthiasblaesing added this to the NB31 milestone Jul 18, 2026
@matthiasblaesing matthiasblaesing added Platform [ci] enable platform tests (platform/*) ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Platform [ci] enable platform tests (platform/*)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant