Skip to content

Commit

Permalink
[CSPL-3269] Change error log for clarification (#1422)
Browse files Browse the repository at this point in the history
* Change error log to info for clarification

* update log statement

* change log back to error, keep new contents

* lowercase error message
  • Loading branch information
rlieberman-splunk authored Jan 15, 2025
1 parent 8306aea commit 4d4f6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/splunk/enterprise/afwscheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ func getAppTopFolderFromPackage(rctx context.Context, cr splcommon.MetaObject, a
// The onus falls on the user to make sure the app packages are tarred appropriately
// to avoid the re-installation cycles as it is prudent to continue
// to the install step for harmless warnings
scopedLog.Error(err, "could not get installed app name", "stdOut", stdOut, "stdErr", stdErr, "command", command, "appPkgPathOnPod", appPkgPathOnPod)
scopedLog.Error(err, "error in tar contents list, but app installation will continue", "stdOut", stdOut, "stdErr", stdErr, "command", command, "appPkgPathOnPod", appPkgPathOnPod)
if stdOut == "" {
return "Empty app package name, could not get installed app name", err
}
Expand Down

0 comments on commit 4d4f6a9

Please sign in to comment.