
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
serverless-logging-config
Advanced tools
Lets you configure custom log group, JSON logging, and other recent logging changes announce in Nov 2023.
Lets you configure custom log group, JSON logging, and other recent logging changes announce in Nov 2023.
For more information about these settings, please see the service announcement here
npm i --save-dev serverless-logging-config
serverless.yml
:service: my-service
plugins:
- serverless-logging-config
custom
section (you may have to add this to your serverless.yml
). For example:service: my-service
custom:
serverless-logging-config:
enableJson: true # [Optional] if enabled, set the LogFormat to JSON
logGroupName: my-logs # [Optional] if set, all functions will send logs this log group
applicationLogLevel: INFO # [Optional] valid values are DEBUG, ERROR, FATAL, INFO, TRACE and WARN
systemLogLevel: INFO # [Optional] valid values are DEBUG, INFO and WARN
useDefaultLogGroup: # [Optional] these functions would keep logging to their default log group
- function1
- function2
See this page for more info on what these settings mean.
IMPORTANT: when used alongside the serverless-iam-roles-per-function
plugin, make sure this plugin is listed AFTER serverless-iam-roles-per-function
. ie.
plugins:
- serverless-iam-roles-per-function
- serverless-logging-config
FAQs
Lets you configure custom log group, JSON logging, and other recent logging changes announce in Nov 2023.
We found that serverless-logging-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.