Comments (7)
Regarding your statement on emailing logs, would an external email service be used, or is that something you'd like to implement internally and be optionally set up during configuration? Just curious!
from spring-boot-starter-beapi.
The point behind the 'starter' is to provide a 'basic' tool that can be configured to your needs. We provide the tool, you configure how you want. So we will test to make sure it can work with a queue but it won't support any particular queue out of the box
Most likely it will just support emailing via a local smtp install at start (https://linuxhint.com/bash_script_send_email/)
And we don't want it to email 'logs'... just that a HTTP error code happened, where and what most likely 'caused the issue'. This is both to reduce issue with users & developers having to search through code to find the issue.
from spring-boot-starter-beapi.
Ah, that makes sense. Thanks!
from spring-boot-starter-beapi.
This is actually very easy as the errors get thrown in specific places so we can easily tell why and what caused it and the chain of events leading up to that specific HTTP status error (in 90% of cases) at that location in the code.
Also, this requires a developer to run the program on the backend with this flag. So it is mostly for 'backend' testing/development and devops.
There probably won't be a massive call for hooking up message queues for this functionality; probably just a nice 'thank you' for making troubleshooting alot easier' :)
from spring-boot-starter-beapi.
well since slf4j cannot have custom LEVELs, have to just use a MARKER.
Not the best solution but still provides great output for developers.
Am integrating to provide troubleshooting solutions for developers when using 'logger.info'
May want to integrate this at a less verbose level of logging
from spring-boot-starter-beapi.
we can use WARN and then put these all under 'isWarnEnabled' (or not as it won't be called if we use log.warn)
log.info is too VERBOSE and log.error gets used in PROD. Log.warn should be perfect because practically no one uses it and we can declare it at a CLI
from spring-boot-starter-beapi.
Implemented the beginnings of this. Should be a good start. Just need to run with '--warn'
from spring-boot-starter-beapi.
Related Issues (20)
- BUG : BatchFunctionalTest not properly rolling back HOT 1
- TASK : Avoid processing params and use SpringcontextholderAwareRequestWrapper HOT 1
- TASK : Params Functional Test HOT 1
- BUG : PRECHAIN method not being changed to GET for continuing calls in chain HOT 1
- TASK : SCHEMA REGISTRY GENERATION
- TEST : Build tests for TraceCacheService
- TEST : Build tests for ThrottleCacheService
- BUG : Spring CorsFilter using RequestMappingHandlerMapping; cannot change HOT 1
- TASK: DAILY Quartz/CRON to clean old tokens
- TASK : IO State prop for cacheOn HOT 1
- BUG : Demo project needs to have YamlPropertySourceFactory to allow for ENV properties HOT 8
- TASK : Post 0.7, create separate branches for config files HOT 1
- Documentation: Server endpoints HOT 1
- TASK : convert ulist to util/UriObject HOT 2
- MINOR ISSUE : status code should be 204 on empty/null responses HOT 1
- TASK : associate request detailt with JWT token HOT 1
- FEATURE: X-LINK-RELATIONS HOT 3
- MINOR ISSUE: add error cacthing for fallback RequestMappingHandlerMapping HOT 1
- TASK : Build 'receivesList'/'responseList' using getIOSet as part of cache HOT 1
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 spring-boot-starter-beapi.