Bug 973450 - File attribute always replaces the file even if the values are equal
File attribute always replaces the file even if the values are equal
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Logging (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ER3
: EAP 6.1.1
Assigned To: James Perkins
Depends On:
  Show dependency treegraph
Reported: 2013-06-11 19:31 EDT by James Perkins
Modified: 2013-09-16 16:29 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
There was an issue in previous versions of JBoss EAP 6 in which logging events that were recorded during bootstrapping by a file log handler would be overwritten. This issue would occur if the file log handler was not set to append. This issue occurred because the logging subsystem did not not properly check the value for the `FILE` attribute of the file log handler when comparing it to the value used during bootstrapping. In this release of JBoss EAP 6, the logging subsystem has been updated to fix this issue. For file log handlers that are not set to append, the `FILE` attribute is now properly checked against the value used during bootstrapping, so that events that are recorded during bootstrapping are no longer overwritten.
Story Points: ---
Clone Of:
Last Closed: 2013-09-16 16:29:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-1500 Major Resolved File attribute always replaces the file even if the values are equal 2014-08-13 06:51:00 EDT

  None (edit)
Description James Perkins 2013-06-11 19:31:36 EDT
Description of problem:
The value for the FILE attribute for file log handlers isn't properly checked when comparing bootstrap file value. With a file that is not appendable, the overwrite would overwrite bootstrapped logged data.

Steps to Reproduce:
1. Create any file handler and set append to false

Actual results:
Bootstrap logged data is not available in file

Expected results:
Bootstrap logged data to be available in file
Comment 2 JBoss JIRA Server 2013-06-18 15:09:23 EDT
James Perkins <jperkins@redhat.com> made a comment on jira WFLY-1500

Pull request merged
Comment 3 Petr Kremensky 2013-07-22 09:17:20 EDT
Verified on EAP 6.1.1 ER3, bootstrap logged are now not overwritten.

Note You need to log in before you can comment on or make changes to this bug.