Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log page should not be empty if no log info exists #3949

Closed
yingbaiibm opened this issue Nov 25, 2020 · 6 comments
Closed

Log page should not be empty if no log info exists #3949

yingbaiibm opened this issue Nov 25, 2020 · 6 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@yingbaiibm
Copy link

  1. Go to Utilities - system utilities
  2. Click Log Administration
  3. Choose File as cacti_stderr.log, page becomes blank --failed, even cacti_stderr.log is empty, the cacti page should not be blank

Cacti 1.2.15
FF 83
rhel7 x64

@yingbaiibm yingbaiibm added bug Undesired behaviour unverified Some days we don't have a clue labels Nov 25, 2020
@yingbaiibm
Copy link
Author

Screen Shot 2020-11-25 at 2 28 05 PM
Screen Shot 2020-11-25 at 2 28 19 PM

@TheWitness
Copy link
Member

@yingbaiibm, I'm not seeing this in a stock environment. Could this be related to @ddb4github recent pull request?

@yingbaiibm
Copy link
Author

@TheWitness Check with ddb4github, no relationship with his recent pull request. The cacti_stderr.log must be empty, then the issue can be reproduced.

@yingbaiibm
Copy link
Author

@TheWitness check with ddb4github, It's that the cacti can not display Poller Standard Error Log info that set at configuration - settings - path - Poller Standard Error Log path when checking Log Administrator page

Screen Shot 2020-11-26 at 3 53 44 PM

@TheWitness
Copy link
Member

@yingbaiibm, I've been unable to reproduce on my side. Have @ddb4github put in a pull request once he figures it out

@TheWitness
Copy link
Member

@yingbaiibm, can you please check for a javascript error on that page when you switch files. Again, I'm unable to reproduce.

ddb4github added a commit to ddb4github/cacti that referenced this issue Nov 28, 2020
ddb4github added a commit to ddb4github/cacti that referenced this issue Nov 28, 2020
TheWitness added a commit that referenced this issue Nov 28, 2020
* Fixed: #3949: Log Administration can not view Cacti error log

* Update Changelog for #3949

* Minor PSR updates.

Co-authored-by: TheWitness <thewitness@cacti.net>
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Nov 28, 2020
@TheWitness TheWitness added this to the v1.2.16 milestone Nov 28, 2020
@TheWitness TheWitness changed the title Log page should not be empty if no log info exist Log page should not be empty if no log info exists Nov 28, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants