fission function log
fission function log
Display function logs
fission function log [flags]
Options
--name string Function name
-f, --follow -f |:|: Specify if the logs should be streamed
-r, --reverse -r |:|: Specify the log reverse query base on time, it will be invalid if the 'follow' flag is specified
--recordcount int Get N most recent log records (default 20)
-d, --detail -d |:|: Display detailed information
--pod string Function pod name (use the latest pod name if unspecified)
--fnNamespace string --fns |:|: Namespace for function object (default "default")
--dbtype string Log database type, e.g. influxdb (currently only influxdb is supported) (default "influxdb")
-h, --help help for log
Options inherited from parent commands
--kube-context string Kubernetes context to be used for the execution of Fission commands
--server string Server URL
-v, --verbosity int -v |:|: CLI verbosity (0 is quiet, 1 is the default, 2 is verbose) (default 1)
SEE ALSO
- fission function - Create, update and manage functions
Last modified November 2, 2021: Add Fission CLI reference (#74) (2e7a988)