0fatal 83a9960fdd
feat: replace current logging solution with log server (#1381)
* feat: add log server

* feat(runtimes&server): adapt to log server

* chore(build): add helm template for log-server

* feat(log-server): health check

* refactor(server): fetch function logs from log server

* chore(docs): tidy docs for function log

* chore: clean code

* chore(ci): dockerize log server

* fix(server): replace db in FunctionConsole.write

* feat: verify appid for log server

* chore(runtimes): restart app when file changes

* chore: adjust env and region conf for supporting log server

* refactor(server): get logs from log server
2023-07-14 15:39:00 +08:00

599 B

title
Cloud Function History Logs

{{ $frontmatter.title }}

:::warning Only logs generated by using console in cloud functions will be saved! :::

All historical logs of cloud functions are automatically saved in the log section, and logs are retained for 3 days.

You can filter logs based on the requestId and the name of the cloud function.

function-log

  1. Click on a log to switch to the log section.
  2. Use the requestId and the name of the cloud function to search for specific logs.
  3. Click on an individual log to view detailed content.