How to utilize NodeCanvas Console for logging?

NodeCanvas Forums Support How to utilize NodeCanvas Console for logging?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #16376


    I’ve been trying to figure out how to log messages to the NodeCanvas console window for a few days to no avail. Just like it says in the console itself, I’m trying to redirect node log messages there instead of the Unity console to reduce clutter. However, I couldn’t really find how to do so within the NodeCanvas documentation.

    So I asked on the Discord, and someone was kind enough to point me towards the ParadoxNotion.Services.Logger class. “Here we go!” I thought. So I started switching my behaviors from UnityEngine.Debug.Log to using ParadoxNotion.Services.Logger.Log .

    It very much surprised me when this didn’t work, either. The log messages were still being output, but still in the Unity Console and not the NodeCanvas console. I mean, if it showed up in both places that might make sense but as it stands I am clueless as to how to get it to show up in the NodeCanvas console at all.

    Here’s a screenshot of the Unity Console (left) and the NodeCanvas Console (right). I’ve toggled all the show/hide toggles on the NodeCanvas console and as you can see from the left screenshot I’m definitely using the ParadoxNotion.Services.Logger class.

    Please advise! Thank you!

    You must be logged in to view attached files.

    Hello there,

    Indeed the way to show logs in NodeCanvas console is by using the ParadoxNotion.Services.Logger and this is what is used throughout the NodeCanvas code as well for that purpose. Please note that the logs are printed in the NodeCanvas console only if it is already open at the time the log takes place. Could that be that the reason?


    Join us on Discord:


    Why won’t it let me make replies? I keep getting the error

    <span style=”background-color: initial; color: #000000; font-family: ‘Open Sans’; font-size: 12px; margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: bold;”>Error</span><span style=”background-color: initial; color: #000000; font-family: ‘Open Sans’; font-size: 12px;”>: Duplicate reply detected; it looks as though you’ve already said that.</span>

    I’ve been trying to reply for 10 min now.

    Fine, I’ll just make the replies in weird fragments. I’m still having the logging issue so I have a youtube video illustrating:


    Both consoles are side-by-side, and you can see the logging messages coming in on the Unity console but not the NodeCanvas one.

    There is another error I’ve been getting you can see from very early in the video, but the error is this:

    It happens when entering play mode for the first time. It hasn’t adversely affected anything else from what I can tell. I don’t think this has anything to do with the logging issue, but you’re the expert.

    I am using Unity 2021.3.8f1 as you can see at the top of the video.

    What’s the next step in troubleshooting this logging issue? Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.