tencent cloud

Serverless Cloud Function

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Related Concepts
How It Works
Strengths
Scenarios
Related Products
Purchase Guide
Billing Overview
Billing Mode
Billable Items and Billing Modes
Function Computing Power Support
Free Tier
SCF Pricing
Billing Example
Payment Overdue
Getting Started
Creating Event Function in Console
User Guide
Quota Management
Managing Functions
Web Function Management
Log Management
Concurrence Management
Trigger Management
Function URL
A Custom Domain Name
Version Management
Alias Management
Permission Management
Running Instance Management
Plugin Management
Managing Monitors and Alarms
Network Configuration
Layer Management
Execution Configuration
Extended Storage Management
DNS Caching Configuration
Resource Managed Mode Management
Near-Offline Resource Hosting Model
Workflow
Triggers
Trigger Overview
Trigger Event Message Structure Summary
API Gateway Trigger
COS Trigger
CLS Trigger
Timer Trigger
CKafka Trigger
Apache Kafka Trigger
MQTT Trigger
Trigger Configuration Description
MPS Trigger
CLB Trigger Description
TencentCloud API Trigger
Development Guide
Basic Concepts
Testing a Function
Environment Variables
Dependency Installation
Using Container Image
Error Types and Retry Policies
Dead Letter Queue
Connecting SCF to Database
Automated Deployment
Cloud Function Status Code
Common Errors and Solutions
Developer Tools
Serverless Web IDE
Calling SDK Across Functions
Third-Party Tools
Code Development
Python
Node.js
Golang
PHP
Java
Custom Runtime
Deploying Image as Function
Web Framework Development
Deploying Framework on Command Line
Quickly Deploying Egg Framework
Quickly Deploying Express Framework
Quickly Deploying Flask Framework
Quickly Deploying Koa Framework
Quickly Deploying Laravel Framework
Quickly Deploying Nest.js Framework
Quickly Deploying Next.js Framework
Quickly Deploying Nuxt.js Framework
Quickly Deploying Django Framework
Use Cases
Overview
Solutions with Tencent Cloud Services
Business Development
TRTC Practices
COS Practices
CKafka Practice
CLS
CLB Practice
MPS
CDN
CDWPG
VOD
SMS
ES
Scheduled Task
Video Processing
Success Stories
Tencent Online Education
Online Video Industry
Tencent Online Education
Best Practice of Tencent IEG Going Global
API Documentation
History
Introduction
API Category
Making API Requests
Other APIs
Namespace APIs
Layer Management APIs
Async Event Management APIs
Trigger APIs
Function APIs
Function and Layer Status Description
Data Types
Error Codes
SDK Documentation
FAQs
General
Web Function
Billing FAQs
Network FAQs
Log FAQs
SCF utility class
Event Handling FAQs
API Gateway Trigger FAQs
Related Agreement
Service Level Agreement
Contact Us
Glossary

SCF Log Service Change Notification

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-12-02 20:27:11

Notes:

SCF plans to upgrade the log service on January 29, 2021 to connect to Cloud Log Service (CLS). After the upgrade, you need to specify the destination log topic or use the default shipping configuration for new functions. For more information, please see Log Search Guide.
Functions created before January 29, 2021 will be gradually migrated by region from April 5, 2021. We will configure the SCF-specific log topic for functions for which you have not configured logging. In the following scenarios, the SCF cannot complete automatic migration or will not perform automatic migration. If you need to view the function invocation logs, please manually associate your functions with a log topic to save the function invocation logs. For details, please see Log Delivery Configuration.
Status
Scenario
SCF cannot complete the automatic migration.
Your Tencent Cloud account has not completed the identity verification. Please complete the identity verification, and then associate your functions with a log topic to save the function invocation logs.
Your Tencent Cloud account has overdue payment. Please top up your account first, and then associate your functions with a log topic to save the function invocation logs.
The role SCF_QcsRole does not exist. Please complete SCF service authorization, and then associate your functions with a log topic to save the function invocation logs.
SCF will not perform automatic migration.
The functions under your Tencent Cloud account were not invoked during the migration statistical period (March and April 2021). The system determines that you are an inactive user of SCF and will not create log service related resources for you. Before invoking the function again, you need to manually associate your function with a log topic to save the function invocation logs.

Background

Cloud Log Service (CLS) is a one-stop logging solution. It can be easily integrated in just five minutes, freeing you from resource or scaling issues. CLS offers solutions for collecting, storing, searching, and analyzing logs, helping you identify business issues, monitor metrics, ensure security, and simplify operations.
After SCF is connected to CLS, function logs can support:
Real-time index: index collected log data in real time to enable data search.
Flexible search: you can use various features such as full-text search, multi-keyword search, range search, and fuzzy search.
Log shipping: you can ship specified logs to other cloud products to meet storage or other computing needs. For example, you can ship a log to a specified COS bucket to manage its lifecycle and meet the need for log auditing.

SCF Log Service Upgrade Details

Starting from January 29, 2021, the new functions will use the default log topic if no destination log topic is specified, and their invocation logs will be delivered to the specified topic according to the function log configuration.
Existing functions will be migrated by region from April 5 to June 30, 2021. We will associate the default destination log topic with functions for which you have not configured logging, while the functions for which you have already configured logging will not be affected.
Note:
If you want to specify the destination log topic for function logs, please configure it before the migration of existing functions starts. For the configuration method, please see Log Delivery Configuration (Legacy).
We recommend you not change the log configuration during the migration window of existing functions so as to avoid exceptional log query caused by log delivery to different topics.
Existing functions will be migrated in stages. For specific migration time, please see the SMS and Message Center notification you receive.
When the default log shipping feature is enabled, SCF will activate CLS automatically and ship function invocation logs to the log topic (prefixed by "SCF_logtopic") in the SCF-specific logset (prefixed by "SCF_logset"). If the log topic and logset do not exist, new ones will be created automatically. Logs are stored for seven days by default. You can check and manage them on the CLS console.
The GetFunctionLogs API will be disused on July 1, 2021. After the function is connected to CLS, we recommend you use the related CLS API to get the best log search experience.
Note: To ensure the compatibility of the GetFunctionLogs API, the input parameter FunctionName is optional, but we recommend you enter it; otherwise, log acquisition may fail.
After the CLS service is commercialized, Tencent Cloud still provides a certain free tier for all users in each region. The SCF-specific topic will consume the free tier. For more information on CLS billing, please see Free Tier.
For more information on the format of logs delivered from SCF to CLS, please see Log Search Guide.
After SCF logs are connected to CLS, return data will be retained for asynchronously invoked functions, which will be written to SCF_Message in the format of Response RequestId:xxx RetMsg:xxx.
Note:
The value of SCF_Message is limited to 8 KB in length, and excessive parts will be discarded.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백