Log files aren't loaded properly

Description

Openfire is reported to suffer from a problem in which the log files cannot be loaded properly.

Sometimes we noticed that the log content in the admin console was empty even though the log files were not empty. Only restarts helped to display the log content again.

The suggested fix is to ensure that resources that are used to interact with the files are properly closed.

See https://github.com/igniterealtime/Openfire/pull/1426

Environment

None
Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen