Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailHandler LogManager support for mail entries #119

Closed
jmehrens opened this issue Jan 18, 2024 · 1 comment · Fixed by #122
Closed

MailHandler LogManager support for mail entries #119

jmehrens opened this issue Jan 18, 2024 · 1 comment · Fixed by #122
Assignees
Labels
enhancement New feature or request

Comments

@jmehrens
Copy link
Contributor

jmehrens commented Jan 18, 2024

During development of #110 I didn't include log manager support for reading mail entries. The MailHandler has always read mail entries as top level entries. After thinking more about this the MailHandler should allow configuration of mail entries via a local property as there as been a long standing issue where properties are cleared before invoking close. See: https://bugs.openjdk.org/browse/JDK-7092981

The way the MailHandler worked around this issue is to lazy store the values as they are read and by triggering those reads through verification. By adding the a mailEntries property this will allow the MailHandler to work with verification off. It also provides a unique namespace for this handler to override top level mail settings.

@jmehrens jmehrens self-assigned this Jan 18, 2024
@jmehrens jmehrens changed the title MailHandler logmanger support for mail entries MailHandler LogManger support for mail entries Jan 18, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 20, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 20, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 20, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 20, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 20, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 22, 2024
@jmehrens jmehrens added the enhancement New feature or request label Jan 22, 2024
jmehrens added a commit to jmehrens/angus-mail that referenced this issue Jan 23, 2024
jmehrens added a commit that referenced this issue Jan 23, 2024
MailHandler LogManger support for mail entries #119
Signed-off-by: jmehrens <[email protected]>
@jmehrens
Copy link
Contributor Author

Committed to 2.0.3 as:
4b7360d

@jmehrens jmehrens changed the title MailHandler LogManger support for mail entries MailHandler LogManager support for mail entries Feb 17, 2024
@lukasj lukasj linked a pull request Mar 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant