Skip to content

PANOS_LOGGING environment variable does not support osx_curl #106

@freedge

Description

@freedge

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

pango/client.go

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

  1. export PANOS_LOGGING=osx_curl
  2. 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions