This is an automated email from the ASF dual-hosted git repository.
fgreg pushed a commit to branch SDAP-125
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
The following commit(s) were added to refs/heads/SDAP-125 by this push:
new 336708b Add log statement
336708b is described below
commit 336708be3e63ed08f4ee06f2245ecb15cf59ff68
Author: Frank Greguska <[email protected]>
AuthorDate: Tue Jul 17 16:36:52 2018 -0700
Add log statement
---
client/nexuscli/nexuscli.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/nexuscli/nexuscli.py b/client/nexuscli/nexuscli.py
index 0224e56..04eb951 100644
--- a/client/nexuscli/nexuscli.py
+++ b/client/nexuscli/nexuscli.py
@@ -27,6 +27,7 @@ Usage:
import requests
import numpy as np
import logging
+import sys
from datetime import datetime
from collections import namedtuple, OrderedDict
from pytz import UTC
@@ -55,7 +56,7 @@ __pdoc__['Point.variable'] = "dictionary of variable values"
ISO_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
-logging.basicConfig()
+logging.basicConfig(stream=sys.stdout)
target = 'http://localhost:8083'