VA Log Configuration Commands, etc...

* 🪵 Implemented an Improved Global logger solution
* 🥈 Removed duplicate APIClient inits
* 🐛 Corrected an issue with the payload for spconfig import
* 🚤 Significantly improved the Speed of Parsing log files with sail va parse
* 🎢 Improved error handling for all VA commands
* 💻 Added a VA List Command, along with Get and Set commands for VA Log Config
This commit is contained in:
luke-hagar-sp
2023-05-16 09:01:34 -05:00
parent 10d8ac3be5
commit c4c15361d6
2655 changed files with 685 additions and 863023 deletions

View File

@@ -7,6 +7,7 @@ import (
"fmt"
"os"
"github.com/charmbracelet/log"
sailpointsdk "github.com/sailpoint-oss/golang-sdk/v3"
"github.com/sailpoint-oss/sailpoint-cli/internal/config"
"github.com/sailpoint-oss/sailpoint-cli/internal/sdk"
@@ -63,7 +64,7 @@ func newCreateCmd() *cobra.Command {
return sdk.HandleSDKError(resp, err)
}
config.Log.Info("Transform created successfully")
log.Info("Transform created successfully")
cmd.Print(*transformObj.Id)