Using the Cloud Log Collection
Enabling Log Collection
To set up log collection, use the Enable Log Collection API and set the enabled flag to true:
To opt-out of log collection, use the Enable Log Collection API and set the enabled flag to false:
The logs will be collected in a dedicated system repository called
jfrog-logs, which is created when the API is called. The repository will be displayed in the Platform UI (if the user has admin permissions) together with the other repositories (such as build-info, etc.). The repository will also have a dedicated icon to indicate it.
Logs will be uploaded once in 24 hours or when 25 MB are reached (the earliest).
Folder Structure and File Name Conventions
The repository top level is the main service name, the level below is the node ID. Below them, the logs from all the microservices of the main service are deployed.
The filenames are similar to the log filenames that are produced by the log engines. For example: