Bug 1677577

Summary: Remove 'View X log' buttons from web ui
Product: Red Hat Enterprise Linux 8 Reporter: Zdenek Dohnal <zdohnal>
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.1CC: psklenar, thozza, tkorbar
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-2.2.6-27.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:28:21 UTC Type: Bug
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: 1680922    
Bug Blocks: 1684588, 1701002    

Description Zdenek Dohnal 2019-02-15 09:38:41 UTC
Because I moved cups logging into journal, 'View X log' in web ui now shows 'Not Found' because scheduler checks log settings before it serves the logs - and serves 'Not Found' when log is set to syslog.

After communication with upstream they removed the buttons in commit https://github.com/apple/cups/commit/0d94b8bf90aead5015e489a2bc6f41e10ca64c40

Comment 7 Petr Sklenar 2019-07-09 09:11:37 UTC
hello,
there is not button now but access is still open.
Like:
1,
/etc/cups/cups-files.conf:
AccessLog /var/log/cups/access_log

2, systemctl restart cups
3, cupsctl --remote-admin --remote-any --share-printers
4, open ff and go to https://10.0.137.8:631/admin/log/access_log

x: file is readable, log is there.

IS THIS EXPECTED with cups-2.2.6-27.el8.x86_64 ?

Comment 8 Zdenek Dohnal 2019-07-09 10:07:44 UTC
Yes, it is expected - the bug is only about removing buttons, which improves UIX (no 'Not Found' message when log is set to syslog, which is default, and user clicks on 'View X log'), not about accessibility of logs itself.
Ad accessibility - it should still behave the same way - 'Not found' when log is set set to syslog and accessible when the log is set to file. Buttons are removed for both cases.

Comment 12 errata-xmlrpc 2019-11-05 22:28:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3617