Comments (6)
Hey, this feature looks great and would allow us to reduce the cost. I have one question: shouldn't be there a possibility to set the LoggingConfig also on the provider level? Each Lambda probably is going to share the same configuration for logging, so it will reduce the boilerplate.
from serverless.
Looking at the documentation, it seems that defining LoggingConfig is a good idea.
What about the following settings?
functions:
hello:
...
loggingConfig:
applicationLogLevel: <value>
logFormat: <value>
logGroup: <value>
systemLogLevel: <value>
Can I please be assigned to this one?
from serverless.
Whilst we're waiting for feedback, anyone who needs this functionality now can look towards: https://www.npmjs.com/package/serverless-logging-config
from serverless.
Maybe the issue I opened over at #12284 should be folded into this one? It's asking for pretty much the same thing. When I wrote it, I honestly didn't even know it was a new feature. I just assumed everyone supported json through and through these days.
from serverless.
Thank you for your input. We've implemented the requested feature in V.4, available for both Provider and Function settings. For the correct YAML usage, check out the serverless.yml
documentation, and for the function examples, simply scroll down. We're aware of an inconsistency with a titlecase YAML property. Rest assured, this will be corrected by Monday, as noted in this issue.
from serverless.
Looks like that was just a documentation typo and the YAML implementation correctly uses camelCase. This feature is ready to go.
from serverless.
Related Issues (20)
- add support to provided.al2/provided.al2023 runtimes on AWS lambdas and allow arm64 architecture use on them
- DLQ for EventBridge Schedules
- CF functions for fileSystemConfig missing in Typescript
- NotificationConfiguration Error "Unable to validate the following destination configurations"
- decompress-tar vulnerability HOT 1
- Expose actual error from spawned process HOT 2
- AWSLambdaVPCAccessExecutionRole is added in VPC configured lambdas even if it was manually added
- Add support for .NET 8
- Is there any plan to upgrade aws sdk to v3?
- Deploy individual function, role arn normalisation fails on imported role ARN HOT 2
- Cannot use multiple --docker-arg options with invoke local
- Unable to Change Kafka Topic Name in Serverless Trigger
- devDependencies are not excluded all of a sudden... HOT 1
- Lambda with kafka trigger onFailure destination
- Xray Tracing for SNS and SQS in Serverless framework
- Function URLs get deleted (or won't get created) when provisioned capacity is set on Lambdas for AWS
- Serverless `support` command doesn't support multiple orgs or read the org in serverless.yml
- Compose CLI Command Schema HOT 2
- Advanced Lambda Logging - Undo Uppercase in YAML
- Deployment Failure with Python 3.12.2 HOT 2
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 serverless.