drjdpowell Posted July 7, 2020 Report Share Posted July 7, 2020 Does anyone use Cyth SQLite Logger? In particular, does anyone use it with Actor Framework or DQMH or similar frameworks. This logger was written by me years ago and I use it often, but in Messenger-Library based applications. I would like to know if it works properly in those frameworks. It should, I think, as they use similar Async-Called VIs as Messenger Library (Cyth SQLite Logger identifies the Async-running "actor" that makes a log entry and records it). Quote Link to comment
drjdpowell Posted July 8, 2020 Author Report Share Posted July 8, 2020 Noone, eh? Well, what do people use for logging in their applications? What is your go-to Logger? Quote Link to comment
Neil Pate Posted July 8, 2020 Report Share Posted July 8, 2020 Nope, don't use it. I use my own logger I wrote myself. I am intrigued with the idea of using a DB for log messages in that I can get clever and do queries and things but at the end of the day human readable text files will probably trump for me due to their simplicity of consumption. Quote Link to comment
Jordan Kuehn Posted July 8, 2020 Report Share Posted July 8, 2020 I'll be honest, the very basic Event Logger Library from NI meets my needs 95% of the time. I have heard of an offering from DMC called Llama while attending one of the local user groups in Chicago, but haven't had any time to give it a shot. Quote Link to comment
Rolf Kalbermatter Posted July 8, 2020 Report Share Posted July 8, 2020 (edited) I symply use syslog in my applications and then a standard syslog server to do whatever is needed for. Usually the messages are viewed in realtime during debugging and sometimes simply dumped to disk afterwards from within the syslog server, but there is seldom much use of it once the system is up and running. If any form of traceability is required, we usually store all relevant messages into a database, quite often that is simply a SQL Server express database. Edited July 8, 2020 by Rolf Kalbermatter Quote Link to comment
drjdpowell Posted July 9, 2020 Author Report Share Posted July 9, 2020 (edited) On 7/8/2020 at 2:38 PM, Rolf Kalbermatter said: I symply use syslog in my applications and then a standard syslog server to do whatever is needed for. Usually the messages are viewed in realtime during debugging and sometimes simply dumped to disk afterwards from within the syslog server, but there is seldom much use of it once the system is up and running. If any form of traceability is required, we usually store all relevant messages into a database, quite often that is simply a SQL Server express database. I have used Syslog on distributed systems. But this logger I use not for debugging during development, but for diagnosing issues in the field. So when someone says a customer reported a "strange problem" last week I can ask for the log file and see whatever was going on at that time. Edited July 10, 2020 by drjdpowell Quote Link to comment
drjdpowell Posted July 9, 2020 Author Report Share Posted July 9, 2020 On 7/8/2020 at 1:54 PM, Neil Pate said: I am intrigued with the idea of using a DB for log messages in that I can get clever and do queries and things but at the end of the day human readable text files will probably trump for me due to their simplicity of consumption. It's the difficulty in consuming text files with hundreds of thousands of log entries that makes me like a db. Quote Link to comment
Bryan Posted July 9, 2020 Report Share Posted July 9, 2020 (edited) Our logging routines are home grown. Of course, we're not logging EVERYTHING, mostly just overall test results and not each bit of data collected from a UUT. Our older testers log production pass/fail data to CSV files (older testers) or the company's MS SQL database. I've wanted to use SQLite for local logging, but the push back that I got was that it adds a dependency - having to create or install a viewer to access the logged data. Most of the other Engineers that would be accessing that data want something that's ASCII based and easy to read and import into other formats that wouldn't require anything other than common applications to access. (E.g. Excel, Notepad, etc.). They like the KISS method. Edited July 9, 2020 by Bryan Quote Link to comment
drjdpowell Posted February 4, 2022 Author Report Share Posted February 4, 2022 On the off chance anyone does use this, I have a beta with improvements: https://forums.ni.com/t5/JDP-Science-Tools/Beta-of-Cyth-SQLite-Logger-1-7-2/m-p/4208206 Biggest improvement might be a highlighting mode, as an alternative to the usual filtering, so entries matching the pattern show up in blue: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.