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

[SRM] – Best practice: logging of custom booking wizard actions/progress

Solved1.15K views7th February 2022booking development script SRM
2
Mieke Dryepondt [SLC] [DevOps Advocate]3.60K 7th February 2022 0 Comments

We would like to have some (debug) logging related to the execution of a custom booking wizard script. How do we best do this?

We want to avoid the use of information events.
When checking the SrmLogHandler it requires a reservation. We do not have a reservation yet when we want to pass progress or debug logging when setting things up in the wizard.

For example, the wizard has to find matching resources based on user selection, when this goes wrong we also want to log the reason for future reference.

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 7th February 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Mieke Dryepondt [SLC] [DevOps Advocate]3.60K Posted 7th February 2022 1 Comment

Hi Jorge,
Do you have any suggestions on how to best implement our own logger?

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 7th February 2022
Jorge Dias [SLC] [DevOps Enabler] commented 7th February 2022

I think asking for a new feature from us is the best approach here, then everything will get logged in the same log file, yours and ours.

Though if you want to create your own logger, we use Serilog (https://serilog.net/) to log in the background and we just put some wrappers around to create the files and format as we want.
There are other loggers for .Net, though was best for us, performance, usage and configure wise. It’s a NuGet package so it’s very easy to include in your project.

1
Peter Vanpoucke [SLC] [DevOps Advocate]1.01K Posted 7th February 2022 1 Comment

At the moment the SRM solution only offers to log actions related to a booking.

But maybe, for your use case, it would work out to first create an “empty” booking where the resources that need to be selected by the user in the wizard aren’t auto selected. Later, when the user selects the resource in the wizard they can be assigned to that booking immediately.

Jorge Dias [SLC] [DevOps Enabler] Posted new comment 7th February 2022
Jorge Dias [SLC] [DevOps Enabler] commented 7th February 2022

Please do not use the mentioned workaround, ask for a new feature or implement your own logger.
Creating an empty booking and assigning the resources later as a performance impact.

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