diff options
author | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-29 15:00:54 -0400 |
---|---|---|
committer | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-29 15:06:11 -0400 |
commit | 6702b5681314400cc59c516f4aa7b1d1bb27bba4 (patch) | |
tree | 562d24fd74828437b199f6c3e8ab8e0a9c711be1 /snmptrap/snmptrapd.sh | |
parent | 1ee2859001e6f5dd687a455672e88f2e73a56463 (diff) |
more pytest coverage
Change-Id: I665b032f4789ff7a3089d727f36c8e8500963497
Issue-ID: DCAEGEN2-271
Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'snmptrap/snmptrapd.sh')
-rw-r--r-- | snmptrap/snmptrapd.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/snmptrap/snmptrapd.sh b/snmptrap/snmptrapd.sh index c4712f6..e8ef93e 100644 --- a/snmptrap/snmptrapd.sh +++ b/snmptrap/snmptrapd.sh @@ -21,7 +21,6 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # - # get to where we are supposed to be for startup cd /opt/app/snmptrap/bin @@ -37,8 +36,6 @@ export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt # PYTHONUNBUFFERED: # set PYTHONUNBUFFERED to a non-empty string to avoid output buffering; # comment out for runtime environments/better performance! -# FIXME: This does *NOT* appear to work as desired, so -# we've added "-u" to command line below # export PYTHONUNBUFFERED="True" # set location of config broker server overrride IF NEEDED @@ -47,8 +44,12 @@ export CBS_SIM_JSON=../etc/snmptrapd.json # want tracing? Use this: # python -m trace --trackcalls snmptrapd.py -v + # want verbose logging? Use this: -# python -u snmptrapd.py -v +# python snmptrapd.py -v + # standard startup? Use this: # python snmptrapd.py + +# unbuffered io for logs and verbose logging? Use this: python -u snmptrapd.py -v |