Comments (5)
Hey there Steffen and thanks for the suggestion.
I really love Nebula Logger myself and would love to get it working with the Orchestrator, but first I'll need to come up with a few different concepts:
- How to plug Nebula Logger into the logging Engine I currently use (solution would be to make this an interface, but getting it to work that way will be a different challenge)
- Reacting to Error Logs (For that I wager the Plugin Framework will serve pretty well)
- Making sure they actually come up in the Batch Orchestrator App. I was thinking of creating Scenarios for the respective Batch Job Schedule, but that still leaves the Batch Job itself unassociated.
I'll give this a thought or two and come back to you! Also I'll probably ask if we can dig into the LogEntryBuilder or the Top-Level Metadata somehow to add association with Custom Fields. :)
Thanks for the positive feedback. Appreciate it when the tool provides value. :)
from sfdx-batch-orchestrator.
Generally though @fentes I would still stipulate the use of the same methods as currently, but having logs be created by nebulaLogger in the background. This ensures that you don't actually have to refactor everything should you decide to switch Logging solutions in the middle of usage.
from sfdx-batch-orchestrator.
Hey general, my main concern is, we need to proactively look into the batch jobs to see whether something was crashing. For Nebula we need to do it as well, but I like to have one single place. Jongpie is already thinking about adding the possibility to send emails for error logs. Having both systems combined could make use of that as well.
Replacing the Batch Job Logs completely might not be a must have. But if it would be possible to get rid of them, we could make use of the LogPurger + RetentionRules, to clean up the system.
from sfdx-batch-orchestrator.
Purging is something I would like to create for Batch Job Logs specifically too. :) But for the time being I agree with you that having one unified Logging Solution would be awesome. I would say creating double Logs is not really clean, nor is it needed. The idea I have is to be able to see Logs that reflect what BJLs currently do, in the same place as Batch Job Logs currently reside. I don't want Nebula Logger integration to be a compromise but rather a combination of the best of these two worlds.
from sfdx-batch-orchestrator.
@fentes For those people that don't feel like putting everything into Nebula Logger I'll create an issue for notifying about Jobs with failed Batches.
from sfdx-batch-orchestrator.
Related Issues (9)
- Enable possibility to schedule several times an hour HOT 1
- Create Promotion pipeline for pull requests / pushes to master HOT 1
- Inactive Batch Job Groups in a Schedule lead to the next Jobs being skipped HOT 1
- Issue Title
- Possibility to start Jobs from a Flow Action
- Log retention Dates + Automatic Deletion of Batch Job Logs
- Notify Users when a Batch Job has failed Batches / fails completely.
- MIXED_DML_OPERATION HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfdx-batch-orchestrator.