Functions Example
The following is a sample Functions-related logging command.
To enable Functions logging
oci logging log create --display-name cli_test --log-group-id ocid1.loggroup.oc1.phx.<log_group_OCID> --log-type SERVICE --is-enabled true --configuration file://fnconfig.json
Sample fnconfig.json configuration file:
{
"compartment-id":"ocid1.compartment.oc1..<compartment_OCID>"
"source": {
"resource": "ocid1.fnapp.oc1.phx.<unique_ID>",
"service": "functions",
"source-type": "OCISERVICE",
"category": "invoke"
}
}