Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Element Log Levels – Developer Best Practices

Solved1.00K views23rd February 2023Errors logging protocol development
15
Shawn Michaud [SLC] [DevOps Member]622 22nd February 2023 1 Comment

When developing a protocol and when incorporating Error Log Levels into your protocol design, does anyone have a standard they follow?

I’m thinking more generic or high level guidelines as I am curious if a rough framework would be nice to help set customer/user expectations when using the logging levels. Currently it varies by protocol, maybe no logging was integrated at all and/or only uses level 1 for everything, etc.

Assumptions:

  • Its assumed each level contains the logging of the lower level. i.e. 2 = 1 & 2 or 4 = 1 through 4

Example Only

Let’s take Information Logging

  • Level 1
    • Summary of a QAction Results
  • Level 2
    • Intra-element conversations
  • Level 3
    • Parsing of files i.e. xml, csv, etc that might be used in the protocol during input/output operations.
  • Level 4
    • ?
  • Level 5
    • Everything
Shawn Michaud [SLC] [DevOps Member] Selected answer as best 23rd February 2023
Thomas Cauwelier [SLC] [DevOps Advocate] commented 23rd February 2023

Hi Shawn
I notice that the different levels aren’t used as much for protocol development because your logs easily get lost between the additional SLProtocol logs that are added.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
15
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 23rd February 2023 1 Comment

Hi Shawn, this is actually a very good question. Logging is very important to be able to quickly pinpoint the problem when something goes wrong.

Your assumption that each level contains the lower level is correct.

Currently we don’t really have guidlines that specify what should be logged on which log level. I also think it’s not easy to setup strict guidelines that are perfect in all situations, it’s really depending on the connector itself. For instance, in your example, priority is given to intra-element communication, but it could be that in another connector you first want to see the parsing of the data and inter-element communication in a higher level. For performance reasons, it’s important that at the default level as less as possible is being logged (only errors).

Next to the levels, it’s also important to specify the correct type of the logging: information, debug, error.

Shawn Michaud [SLC] [DevOps Member] Edited comment 23rd February 2023
Shawn Michaud [SLC] [DevOps Member] commented 23rd February 2023

Thanks Tom for taking the time to respond! Will check with the domain and expert hub and see if there is any value to some loose guidelines. We had a customer ask for all their connectors what each level represents or what they can expect to see, this was following our log cleanup and building out the levels of 1 protocol but prompted me to look at this more wholistically and see how we can improve.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs