HUE-8622 [core] Improved logging with ID and User to backend services

Review Request #13952 - Created May 14, 2019 and updated

Chris Conner
hue
master
HUE-8622
hue
enricoberti, jgauthier, johan, ranade, romain, roohi, weixia, yingc
commit dc9ce74cb6a8aea679e384b04bf6138a43727b26
Author: cconner <cconner@cloudera.com>
Date:   Tue May 14 17:26:48 2019 -0400

    HUE-8622 [core] Improved logging with ID and User to backend services

:100644 100644 61dbbc2ff7 1fdfc3f705 M	apps/beeswax/src/beeswax/api.py
:100644 100644 77b1c9e975 03d9fcba3a M	apps/beeswax/src/beeswax/conf.py
:100644 100644 b932faa9db 919f15308f M	apps/beeswax/src/beeswax/create_table.py
:100644 100644 6ef5d04cb1 a856a24b28 M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 af8649b957 7bfbbfee1b M	apps/beeswax/src/beeswax/server/hive_metastore_server.py
:100644 100644 0245e5fb50 d2f78024b9 M	apps/beeswax/src/beeswax/server/hive_server2_lib.py
:100644 100644 3b6a66f8f9 5026bacb55 M	apps/beeswax/src/beeswax/views.py
:100644 100644 5d08ecc454 6460455444 M	apps/hbase/src/hbase/conf.py
:100644 100644 6852d08eac 33b1f2c45e M	apps/impala/src/impala/api.py
:100644 100644 8109bb7b95 579fdbf61a M	apps/impala/src/impala/conf.py
:100644 100644 1d03038e2c 270e7e4167 M	apps/impala/src/impala/server.py
:100644 100644 2d01575094 b1aee0b268 M	apps/jobbrowser/src/jobbrowser/api.py
:100644 100644 82b2f7bcb0 fe2395c523 M	apps/jobbrowser/src/jobbrowser/api2.py
:100644 100644 cd3eff29f5 83ddaaa18b M	apps/jobbrowser/src/jobbrowser/apis/base_api.py
:100644 100644 f062a7eff8 a636548ce3 M	apps/jobbrowser/src/jobbrowser/apis/bundle_api.py
:100644 100644 393a0b54d4 1ed1bd5be2 M	apps/jobbrowser/src/jobbrowser/apis/job_api.py
:100644 100644 3abed3640e ad32c564a8 M	apps/jobbrowser/src/jobbrowser/apis/query_api.py
:100644 100644 c5c689365a a47580781b M	apps/jobbrowser/src/jobbrowser/apis/schedule_api.py
:100644 100644 b5338ad19c 65168872a3 M	apps/jobbrowser/src/jobbrowser/apis/workflow_api.py
:100644 100644 2226b18db5 1734ef7685 M	apps/jobbrowser/src/jobbrowser/views.py
:100644 100644 a2fa577ac3 73af309b03 M	apps/jobbrowser/src/jobbrowser/yarn_models.py
:100644 100644 ca4a197734 1e5a9f6844 M	apps/metastore/src/metastore/views.py
:100644 100644 58492e5fa6 6312d724bb M	apps/oozie/src/oozie/conf.py
:100644 100644 68f8cc2acf 508765958f M	apps/oozie/src/oozie/views/dashboard.py
:100644 100644 6e34156a89 ed0710ac8d M	apps/oozie/src/oozie/views/editor.py
:100644 100644 489e764953 3ac206dbf4 M	apps/oozie/src/oozie/views/editor2.py
:100644 100644 57f87a76ef 317b8f9e8d M	apps/pig/src/pig/conf.py
:100644 100644 0deb00eae9 9a18a583a0 M	apps/rdbms/src/rdbms/api.py
:100644 100644 0d018d478a 61398afadf M	apps/security/src/security/conf.py
:100644 100644 0a7a176a81 78a05cd970 M	apps/spark/src/spark/conf.py
:100644 100644 6dbd200856 c39113c390 M	apps/spark/src/spark/job_server_api.py
:100644 100644 971c9b2076 d06e9941e4 M	apps/sqoop/src/sqoop/api/autocomplete.py
:100644 100644 91d16b3c51 b6df7f6add M	apps/sqoop/src/sqoop/conf.py
:100644 100644 ddb2723b39 2c0a682203 M	desktop/core/src/desktop/conf.py
:100644 100644 d53684135d 6526a15e5a M	desktop/core/src/desktop/lib/fs/proxyfs.py
:100644 100644 a08db39158 7bed52d17e M	desktop/core/src/desktop/lib/fsmanager.py
:100644 100644 8ea7aa9006 8e614d9835 M	desktop/core/src/desktop/lib/rest/resource.py
:100644 100644 936f750706 40e33bb51a M	desktop/core/src/desktop/lib/thrift_util.py
:100644 100644 c824225af6 f3c11362fa M	desktop/core/src/desktop/log/access.py
:100644 100644 7ea6c55bc1 87ace138f5 M	desktop/core/src/desktop/log/formatter.py
:100644 100644 9c57e555c5 8079c9edde M	desktop/core/src/desktop/middleware.py
:100644 100644 851fd30672 7bea2c7f8b M	desktop/core/src/desktop/settings.py
:100644 100644 e6eebc6fb6 f4b9d97a6c M	desktop/core/src/desktop/views.py
:100644 100644 d3a7e02042 01177a90c0 M	desktop/libs/aws/src/aws/conf.py
:100644 100644 dc974d30a1 251c7e36b1 M	desktop/libs/azure/src/azure/conf.py
:100644 100644 6f94a0cf45 cc17c00ef6 M	desktop/libs/hadoop/src/hadoop/cluster.py
:100644 100644 56f65e1151 1abcc1aa7c M	desktop/libs/hadoop/src/hadoop/conf.py
:100644 100644 92703f2a35 4e5d75db52 M	desktop/libs/hadoop/src/hadoop/fs/webhdfs.py
:100644 100644 2edccab66e 2cbf1dec76 M	desktop/libs/hadoop/src/hadoop/yarn/clients.py
:100644 100644 73feb58f0a d26ef34013 M	desktop/libs/hadoop/src/hadoop/yarn/history_server_api.py
:100644 100644 40c35eb5c4 f3cf3a7ce2 M	desktop/libs/hadoop/src/hadoop/yarn/mapreduce_api.py
:100644 100644 4c256d695b 90bb50a88a M	desktop/libs/hadoop/src/hadoop/yarn/node_manager_api.py
:100644 100644 16bf87793c 8aa5844395 M	desktop/libs/hadoop/src/hadoop/yarn/resource_manager_api.py
:100644 100644 120012101a e56f9e9ff2 M	desktop/libs/hadoop/src/hadoop/yarn/spark_history_server_api.py
:100644 100644 59c683ad02 79aa9779fe M	desktop/libs/indexer/src/indexer/api.py
:100644 100644 06fa1b37f2 7328b44ba5 M	desktop/libs/indexer/src/indexer/api3.py
:100644 100644 17d8ed83d2 ae88df5806 M	desktop/libs/liboozie/src/liboozie/conf.py
:100644 100644 11016f71d3 57ae32811c M	desktop/libs/liboozie/src/liboozie/oozie_api.py
:100644 100644 6ec9a11fa9 06af620e8d M	desktop/libs/libopenid/src/libopenid/conf.py
:100644 100644 8c6d230427 38a9863d64 M	desktop/libs/librdbms/src/librdbms/conf.py
:100644 100644 df99d1c8f5 3452737421 M	desktop/libs/libsaml/src/libsaml/conf.py
:100644 100644 42e074a162 9e40ec91ac M	desktop/libs/libsentry/src/libsentry/client.py
:100644 100644 b1d80caa30 0a8439b9e3 M	desktop/libs/libsentry/src/libsentry/client2.py
:100644 100644 2b197deca3 a8fd29a803 M	desktop/libs/libsentry/src/libsentry/sentry_ha.py
:100644 100644 25efcd50ed 3e0323d5c4 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

I've tested to make sure all of the services still work. There are some logs that just show placeholders instead of actual values. That's why I added a default debug_dict to every class with the Class Name and method so when we see placeholders in the logs we know where we need to improve logging still.

Loading...