https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246020
Resolves: bug 246020
Bug Description: The current viewlog CGI needs to be modified to be able
to work
properly with the Console.
The CGI currently only supports the GET request method. This works
for Admin
Express, but Console expects it to support the POST request method.
The output of the CGI currently includes a log selection combo box as
well as
other HTML elements that make for a nice useful log viewer page in Admin
Express. The Console needs to be able to get get the raw log content
that it
requests.
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The attached diffs address the above issues. With
these changes,
the CGI will work with both the GET and POST request methods. I've
added a new
CGI parameter called "nohtml". This optional parameter is a flag that
allows the
caller to ask for only the raw content to be sent back. This
satisfies the needs
of the Console while keeping the behavior the same for Admin Express.
Platforms tested: FC6
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=158068&action=...