TECHZEN Zenoss User Community ARCHIVE  

How can the logging on txwinrm be enabled?

Subject: How can the logging on txwinrm be enabled?
Author: Joan
Posted: 2015-01-15 02:10

I am having a weird error when trying to use the microsoft zenpack and I located the error message at the ultil.py function from txwinrm. I would like to enable the debug log but it doens't seem to write anything anywhere, I tried setting the loglevel to debug within the util.py function but does't seem that it outputs anything.
Any ideas on enabling that



Subject: re: logging
Author: Dave Bouchillon
Posted: 2015-01-19 13:22

You should be able to start debug logging through the daemon settings via the gui or use the -v10 option on the command line for a single run. If that does not help, then please submit a JIRA and we can take a look at it to see why it's not loggin.

Thanks



Subject: There are logs that are
Author: Joan
Posted: 2015-01-20 01:58

There are logs that are printed on every run, such as the message 'Server not found in Kerberos database', but the ones printed with log.debug() are not shown at any time.
Also the logging files defined in krb5.conf are never written (might be a permission issue)



Subject: re: logging
Author: Dave Bouchillon
Posted: 2015-01-20 13:14

Can you submit a bug for this issue and we will look into it.

Thanks



Subject: Done it's the bug ZEN-16291
Author: Joan
Posted: 2015-01-23 08:36

Done it's the bug ZEN-16291



< Previous
Using the SQLDataSource Community ZenPack with non-numeric WMI values
  Next
Error on MyServeName: Server not found in Kerberos databas
>