logging
If I follow the user guide on how to add logging into a code: https://docs.buildship.com/logging
and perform test on one specific node.
Logs are not written into the logging panel.
I have tried several times and it seems that is not written at all.
It seems that only works with the test of the entire scenario.
How can I perform troubleshooting of the issues in the node ?
Logging – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Solution:Jump to solution
Hi @oneway6026 sent you an email, regarding this, you can followup on the email. The logging statements are working fine and showing up in your workflow. More info shared over email.
21 Replies
Hi @oneway6026 currently logging only works on entire workflow testing, we'll add this to enable this feature for individual node test in future.
Given this, the
logging.log()
should work with the mentioned steps. The logging statements you add in the node log should appear in the cloud log window on a full workflow test,thank you for your quick answer Gaurav. I was expecting that as well, however, it is not the case.
It might be the issue on how you added logging statements, can you share your node logic where you have added logging statements along with screenshot of the log window after running testes?
first thing that comes to my mind is that there is some kind of delay between build and production enviorment
sure, give me a moment
as you can see, I've tested this code on my server to confirm that is working
inability to perform troubleshooting on a specific node is a big impediment as far as I'm concerned
from the screenshot it shows running state, can you close and refresh the logs and see, it should show completed and show you the logging.log statements.
it is still the same, there is no log info
not even error log
can you submit via in-app we can check on your project?
in-app?
Support Messages – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
you mean support
yes, sure
Solution
Hi @oneway6026 sent you an email, regarding this, you can followup on the email. The logging statements are working fine and showing up in your workflow. More info shared over email.