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

Allow user to select minimum log level when running scripts #8984

Closed
jeremystretch opened this issue Mar 28, 2022 · 2 comments
Closed

Allow user to select minimum log level when running scripts #8984

jeremystretch opened this issue Mar 28, 2022 · 2 comments
Assignees
Labels
complexity: low Requires minimal effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

NetBox version

v3.1.10

Feature type

New functionality

Proposed functionality

Add a dropdown box to the reports page and custom script forms which allows the user to select a desired log level. Only messages equal to or greater than this level will be displayed in the UI.

For example, if the user selects "warning" output, errors and warnings will be shown, but informational logs will not.

Use case

Allows a bit of flexibility for the user to suppress redundant or uninteresting output when running scripts and reports.

Database changes

No response

External dependencies

No response

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Mar 28, 2022
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label May 28, 2022
@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation pending closure Requires immediate attention to avoid being closed for inactivity labels May 31, 2022
@jeremystretch
Copy link
Member Author

Changed this to pending milestone assignment, because its implementation will rely on adding a log_level argument to the Report and Script class run() methods.

@jeremystretch jeremystretch added the status: backlog Awaiting selection for work label May 21, 2024
@arthanson arthanson added the complexity: low Requires minimal effort to implement label May 22, 2024
@jeremystretch jeremystretch changed the title Allow user to select minimum log level when running scripts/reports Allow user to select minimum log level when running scripts May 30, 2024
@jeffgdotorg jeffgdotorg added this to the v4.1 milestone May 31, 2024
@arthanson arthanson self-assigned this Jun 4, 2024
@jeffgdotorg jeffgdotorg removed the needs milestone Awaiting prioritization for inclusion with a future NetBox release label Jun 7, 2024
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: backlog Awaiting selection for work labels Jul 31, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
complexity: low Requires minimal effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants