Skip to content

Commit

Permalink
Add log examples for upgrade_project
Browse files Browse the repository at this point in the history
Add examples of log output for successful and failed
attempts to upgrade project's root_task to newer version.

Bump version number to 0.9.1.38.
  • Loading branch information
govreadydeploy committed Sep 13, 2020
1 parent 4ad0f86 commit ac5cdf4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
github_doc_root = 'https://github.com/GovReady/govready-q/tree/master/docs'

# The short X.Y version
version = 'v0.9.1.35'
version = 'v0.9.1.38'
# The full version, including alpha/beta/rc tags
release = 'v0.9.1.35'
release = 'v0.9.1.38'


# -- General configuration ---------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions source/enterprise-integration/logs-and-log-management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,16 @@ Assign a baseline set of controls to a project system (technically, assign the b
2020-06-03 23:53:49,721 controls.views level INFO {"object": {"object": "system", "id": 16, "title": "My Project Name"}, baseline={"catalog_key": "NIST_SP-800-53_rev4", "baseline_name": "low"}, "user": {"id": 28, "username": "me"}, "event": "assign_baseline"}
**"upgrade_project"**

Successful upgrade of project's root task to a different version

.. code:: text
2020-09-13 16:06:32,619 siteapp.views level INFO {"object": {"id": 42, "title": "IT System 42"}, "from_app": {"appsource_slug": "local-lightweight-apps", "id": 20, "version_number": "0.1.8.5.5"}, "to_app": {"appsource_slug": "local-lightweight-apps", "id": 20, "version_number": "0.2.2"}, "user": {"id": 2, "username": "Greg"}, "event": "upgrade_project root_task successful"}
Failed upgrade of project's root task to a different version

.. code:: text
2020-09-13 16:05:57,683 siteapp.views level INFO {"object": {"id": 42, "title": "IT System 42"}, "from_app": {"appsource_slug": "local-lightweight-apps", "id": 19, "version_number": "0.2.1"}, "to_app": {"appsource_slug": "local-lightweight-apps", "id": 19, "version_number": "0.2.1"}, "detail": {"reason": "In question system_info: The answer type module changed from 265 to 197."}, "user": {"id": 2, "username": "Greg"}, "event": "upgrade_project root_task failure"}

0 comments on commit ac5cdf4

Please sign in to comment.