SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hi, i have a following problem:
I created a processor in Smart Connector, and in my code i wrote, for example (Logger.LogDebug(LogCategory.Processor,"MyString", string.Format("ExMyString"));).
But I do not see the "ExMyString" in file log (I have attach the file log).
I want to use the Logger to monitor the execution of the code.
Any idea what I do not see the debugging logs?
Link copied. Please paste this link to share this article on your social media post.
The Logging stack in SmartConnector has two settings which limit what is or is not written to the log files: Logging Filters and Logging Level. These can be edited from the SmartConnector Portal.
Logging Filters allows you to control what categories you want to allow to be written to the log files. Refer to section 5.17 of the SmartConnector Installation and Configuration Guide for more information.
Logging Level allows you to limit how verbose log entries you want to allow to be written to the log files. Verbosity goes from Error => Trace. If you set the level to say Debug, then all log commands at Debug or higher will be logged. By default, the Logging Level is set to Info which would not include Debug. Refer to section 5.13 of the SmartConnector Installation and Configuration Guide for more information.
Link copied. Please paste this link to share this article on your social media post.
This post may also be helpful if you're missing logging from unit tests. https://community.se.com/message/92822?commentID=92822#comment-92822
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.