-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Custom script logs are missing hyperlinks #16149
Comments
Having this functionality for script logs would also be nice. Currently the same logging functions are used in the |
More generally, it seems that the logging functions for scripts (syntax netbox/netbox/extras/scripts.py Lines 496 to 508 in 44771d1
The obj parameter is not referenced in the JSON that is stored in the DB. It is however prepended to the message in the system/console logs. You can also verify in the DB directly: |
@arthanson what is the status of this issue? |
Deployment Type
Self-hosted
NetBox Version
v4.0.2
Python Version
3.11
Steps to Reproduce
self.log_info(some_object, message)
Expected Behavior
Prior to 4.0 the object passed to
log_info
was displayed with a hyperlink to quicly reach the details view.Observed Behavior
Now we have a URL column instead wich we have to copy and paste into the browser or search for the name of the object.
The text was updated successfully, but these errors were encountered: