-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Describe the bug
PANOS_LOGGING environment variable does not support osx_curl
Expected behavior
it should be possible to activate osx_curl logging with
PANOS_LOGGING=osx_curl
Current behavior
Error: Unknown logging requested: osx_curl
Possible solution
add more logging options in
Lines 1356 to 1377 in dba4c15
| if len(ll) > 0 { | |
| var lv uint32 | |
| for _, x := range ll { | |
| switch x { | |
| case "quiet": | |
| lv |= LogQuiet | |
| case "action": | |
| lv |= LogAction | |
| case "query": | |
| lv |= LogQuery | |
| case "op": | |
| lv |= LogOp | |
| case "uid": | |
| lv |= LogUid | |
| case "xpath": | |
| lv |= LogXpath | |
| case "send": | |
| lv |= LogSend | |
| case "receive": | |
| lv |= LogReceive | |
| default: | |
| return fmt.Errorf("Unknown logging requested: %s", x) |
or use the "logging" argument in the provider block
Steps to reproduce
export PANOS_LOGGING=osx_curl- terraform apply
Screenshots
Context
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
- Operating System and version (desktop or mobile):
- Link to your project: