You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
4
+
5
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
+
and this project adheres to [Semantic Versioning](http://semver.org/).
7
+
8
+
## Types of changes
9
+
10
+
-**Added** for new features.
11
+
-**Changed** for changes in existing functionality.
12
+
-**Deprecated** for soon-to-be removed features.
13
+
-**Removed** for now removed features.
14
+
-**Fixed** for any bug fixes.
15
+
-**Security** in case of vulnerabilities.
16
+
17
+
## Unreleased
18
+
19
+
## v2.0.9
20
+
21
+
### Added
22
+
23
+
- get_all_hosts()
24
+
- get_all_vcenters()
25
+
- Added a new `logging_level` argument to the Connect function that lets users choose which logging level they would like to show in their logs. Note -- this change has limited functionality as all log messages are categorized as `debug` still. Additional enhancements will be added in the next release. ([Issue 222](https://github.com/rubrikinc/rubrik-sdk-for-python/issues/222))
26
+
27
+
### Changed
28
+
29
+
-`object_id()` search for vCenter objects now filters based on `primary_cluster_id=local` ([Issue 214](https://github.com/rubrikinc/rubrik-sdk-for-python/issues/214))
30
+
31
+
### Fixed
32
+
33
+
-`object_id` will return the ID for all cases using the database name and the database hosts for the `oracle_db` object type ([Issue 199](https://github.com/rubrikinc/rubrik-sdk-for-python/issues/199))
34
+
- Fixed case-sensitivity for `object_id` ([Issue 216](https://github.com/rubrikinc/rubrik-sdk-for-python/issues/216))
35
+
- Incorrect string join on `get_vsphere_vm` & `get_sql_db` trailing & in query ([Issue 221](https://github.com/rubrikinc/rubrik-sdk-for-python/issues/221))
36
+
- Better encode special characteres in `GET` requests. ([Issue 227](https://github.com/rubrikinc/rubrik-sdk-for-python/issues/227))
Copy file name to clipboardExpand all lines: docs/quick-start.md
+19-7Lines changed: 19 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -422,24 +422,36 @@ Rubrik prides itself upon its API-first architecture, ensuring everything availa
422
422
423
423
The Rubrik SDK for Python contains built-in functions and configurations to help assist with troubleshooting any errors that may arise.
424
424
425
-
### Enabling Debug Mode
425
+
### Enabling Logging
426
426
427
427
The `rubrik_cdm.Connect()` function contains a built-in, verbose logging mechanism which is disabled by default. To enable the logging mechanism, set the `enable_logging` argument to true when connecting to the Rubrik cluster as follows:
428
428
429
429
```
430
430
rubrik = rubrik_cdm.Connect(enable_logging=True)
431
431
```
432
432
433
+
The `logging_level` argument can then be used to set the specific logging level you wish to use. The following levels are valid choices:
When doing so, more verbose debug messages will be displayed on the console when executing various commands and functions within the Rubrik SDK for Python. For example, the `Connect()` function itself displays no information by default, however running the same function specifying enable_logging=True outputs the following:
434
446
435
447
```
436
-
[2018-08-08 09:18:59,687] [DEBUG] -- User Provided Node IP: 172.21.8.53
0 commit comments