zenoss / ZenPacks.zenoss.ZenPackLib

This is a helper library for zenpacks.
http://zenpacklib.zenoss.com/
GNU General Public License v2.0
15 stars 17 forks source link

ZEN-29068: For upgrades, a separate log file needs to be generated fo… #543

Closed olst closed 4 years ago

olst commented 6 years ago

https://jira.zenoss.com/browse/ZEN-29068?focusedCommentId=134236&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-134236

j053ph4 commented 6 years ago

Another thought -- if this is a particular pain point for vSphere ZP, what about making these changes in a ZenPack class override in the vSphere ZP init (ZenPack) class?

olst commented 6 years ago

The request was to save all templates' diffs into a separate place. This is not related only to vSphere ZP.

olst commented 6 years ago

please see https://github.com/zenoss/ZenPacks.zenoss.ZenPackLib/pull/544

dougsyer commented 6 years ago

Would be nice to be able to duel log all zplib commamds to a separate log thst is set to go to kibana. Also be able to have it use a different level of severity than what goes to stdout.

When i install a zenpack i just want to know if tgerr are errors amd it should be essy to see then refer to a detailed log for details om success or failure.

Also there is no clesr indicator that a zp sucrssfully installed and the errored output usually makes it clear something went wrong but its inconsistent so i find auromating it with a lipeline and checking for failures to be difficult