oneway6026
oneway60263mo ago

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:
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.
Jump to solution
21 Replies
Gaurav Chadha
Gaurav Chadha3mo ago
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,
No description
oneway6026
oneway60263mo ago
thank you for your quick answer Gaurav. I was expecting that as well, however, it is not the case.
Gaurav Chadha
Gaurav Chadha3mo ago
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?
oneway6026
oneway60263mo ago
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
oneway6026
oneway60263mo ago
No description
oneway6026
oneway60263mo ago
No description
oneway6026
oneway60263mo ago
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
Gaurav Chadha
Gaurav Chadha3mo ago
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.
oneway6026
oneway60263mo ago
it is still the same, there is no log info
No description
oneway6026
oneway60263mo ago
not even error log
Gaurav Chadha
Gaurav Chadha3mo ago
can you submit via in-app we can check on your project?
oneway6026
oneway60263mo ago
in-app?
Gaurav Chadha
Gaurav Chadha3mo ago
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.
oneway6026
oneway60263mo ago
you mean support yes, sure
Solution
Gaurav Chadha
Gaurav Chadha3mo ago
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.