Bug 429514

Summary: Administration Server Console : incorrect apache server error log parsing
Product: [Retired] 389 Reporter: Andrey Ivanov <andrey.ivanov>
Component: UI - ConfigurationAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 1.1.0CC: benl, dlackey, jgalipea, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-29 23:01:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 249650, 493682    
Attachments:
Description Flags
The screencap of the bug
none
diffs
none
new screenshot
none
cvs commit log none

Description Andrey Ivanov 2008-01-21 09:42:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Description of problem:
The contents of the apache "error" log is incorrectly parsed and displayed in the java Administration console. The "Date" and "Time" fields are incorrect.

Version-Release number of selected component (if applicable):
Windows Console for Fedora DS 1.1

How reproducible:
Always


Steps to Reproduce:
1.Connect to the Administration Server console.
2.Choose the tab "Configuration" -> Logs -> Errors
3.Choose any line
4.Look at the parsed result (the bottom right panel)

Actual Results:
The parsed results incorrectly show the contents of error log. For example, if the original apache error log line is
"[Mon Jan 21 10:21:28 2008] [notice] Apache/2.2 configured -- resuming normal operations"
the graphical parsed "Date" is "Mon Jan 21 10" and the "Time" is "21:28 2008"

Expected Results:
For the example cited above the Date should be "21 Jan 2008" and the "Time" should be "10:21:28"

Additional info:
I think it is the general case for the console on Linux or any other OS, it is not specific to Windows or architecture.

Comment 1 Andrey Ivanov 2008-01-21 09:44:04 UTC
Created attachment 292347 [details]
The screencap of the bug

The attachment shows the screencap with the described line and the bug.

Comment 4 Rich Megginson 2008-12-10 02:47:23 UTC
Created attachment 326442 [details]
diffs

Comment 5 Rich Megginson 2008-12-10 02:48:41 UTC
Created attachment 326443 [details]
new screenshot

Comment 6 Rich Megginson 2008-12-10 14:58:07 UTC
Created attachment 326516 [details]
cvs commit log

Reviewed by: nkinder (Thanks!)
Fix Description: The error log date/time are together in one field.  Just combine them into one column in the log viewer.
New screenshot - https://bugzilla.redhat.com/attachment.cgi?id=326443
Platforms tested: RHEL5
Flag Day: no
Doc impact: yes - will have to document the new log format

Comment 7 Jenny Severance 2009-03-19 14:29:22 UTC
fix verified windows 2003 Enterprise IDM console (console framework 1.1.3) - DS 8.1 THEL 5

Comment 8 Chandrasekar Kannan 2009-04-29 23:01:50 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-0455.html