Replies: 1 comment 1 reply
-
Aha! I answered my own question. Looks like this is some sort of HTML tag sanitization. It prints correctly with backticks: self.log_debug(f"User entered data: `{data}`") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For debugging custom scripts, sometimes I like to include a line like this:
But the Netbox
/extras/scripts/results/xxx/
page does not print the object names:If I configure Netbox to send log output to
logging.handlers.SysLogHandler
then I can see the full output like this:Is there an easy way to make the Netbox UI output look the same?
Beta Was this translation helpful? Give feedback.
All reactions