[4/4] incubator-airflow git commit: [AIRFLOW-1604] Rename logger to log

2017-09-19 Thread bolke
[AIRFLOW-1604] Rename logger to log

In all the popular languages the variable name log
is the de facto
standard for the logging. Rename LoggingMixin.py
to logging_mixin.py
to comply with the Python standard.

When using the .logger a deprecation warning will
be emitted.

Closes #2604 from Fokko/AIRFLOW-1604-logger-to-log

(cherry picked from commit eb2f589099b87743482c2eb16261b49e284dcd96)
Signed-off-by: Bolke de Bruin 


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/af405084
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/af405084
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/af405084

Branch: refs/heads/v1-9-test
Commit: af4050847a5fc354ccc1245f981b8773a5c65075
Parents: 14e6d7b
Author: Fokko Driesprong 
Authored: Tue Sep 19 10:17:14 2017 +0200
Committer: Bolke de Bruin 
Committed: Tue Sep 19 10:18:09 2017 +0200

--
 airflow/__init__.py |   4 +-
 airflow/api/__init__.py |   4 +-
 airflow/api/auth/backend/kerberos_auth.py   |   4 +-
 airflow/bin/cli.py  |  10 +-
 airflow/configuration.py|   4 +-
 .../auth/backends/github_enterprise_auth.py |   4 +-
 airflow/contrib/auth/backends/google_auth.py|   4 +-
 airflow/contrib/auth/backends/kerberos_auth.py  |   2 +-
 airflow/contrib/auth/backends/ldap_auth.py  |   4 +-
 airflow/contrib/auth/backends/password_auth.py  |   4 +-
 airflow/contrib/executors/mesos_executor.py |  34 +--
 airflow/contrib/hooks/bigquery_hook.py  |  24 +--
 airflow/contrib/hooks/cloudant_hook.py  |   4 +-
 airflow/contrib/hooks/databricks_hook.py|   8 +-
 airflow/contrib/hooks/datadog_hook.py   |   6 +-
 airflow/contrib/hooks/datastore_hook.py |   4 +-
 airflow/contrib/hooks/ftp_hook.py   |   6 +-
 airflow/contrib/hooks/gcp_api_base_hook.py  |   6 +-
 airflow/contrib/hooks/gcp_dataflow_hook.py  |  14 +-
 airflow/contrib/hooks/gcp_dataproc_hook.py  |  18 +-
 airflow/contrib/hooks/gcp_mlengine_hook.py  |  18 +-
 airflow/contrib/hooks/gcs_hook.py   |   4 +-
 airflow/contrib/hooks/jira_hook.py  |   4 +-
 airflow/contrib/hooks/qubole_hook.py|  12 +-
 airflow/contrib/hooks/redis_hook.py |   6 +-
 airflow/contrib/hooks/salesforce_hook.py|  14 +-
 airflow/contrib/hooks/spark_sql_hook.py |   6 +-
 airflow/contrib/hooks/spark_submit_hook.py  |  14 +-
 airflow/contrib/hooks/sqoop_hook.py |  10 +-
 airflow/contrib/hooks/ssh_hook.py   |  14 +-
 airflow/contrib/operators/bigquery_operator.py  |   2 +-
 .../operators/bigquery_table_delete_operator.py |   2 +-
 .../contrib/operators/bigquery_to_bigquery.py   |   2 +-
 airflow/contrib/operators/bigquery_to_gcs.py|   6 +-
 .../contrib/operators/databricks_operator.py|  12 +-
 airflow/contrib/operators/dataproc_operator.py  |  16 +-
 .../operators/datastore_export_operator.py  |   2 +-
 .../operators/datastore_import_operator.py  |   2 +-
 airflow/contrib/operators/ecs_operator.py   |  12 +-
 .../contrib/operators/emr_add_steps_operator.py |   4 +-
 .../operators/emr_create_job_flow_operator.py   |   4 +-
 .../emr_terminate_job_flow_operator.py  |   4 +-
 airflow/contrib/operators/file_to_wasb.py   |   2 +-
 airflow/contrib/operators/fs_operator.py|   2 +-
 .../contrib/operators/gcs_download_operator.py  |   4 +-
 airflow/contrib/operators/gcs_to_bq.py  |   2 +-
 airflow/contrib/operators/hipchat_operator.py   |   4 +-
 airflow/contrib/operators/mlengine_operator.py  |  14 +-
 airflow/contrib/operators/mysql_to_gcs.py   |   2 +-
 airflow/contrib/operators/sftp_operator.py  |   4 +-
 airflow/contrib/operators/vertica_operator.py   |   2 +-
 airflow/contrib/operators/vertica_to_hive.py|   4 +-
 airflow/contrib/sensors/bigquery_sensor.py  |   2 +-
 airflow/contrib/sensors/datadog_sensor.py   |   2 +-
 airflow/contrib/sensors/emr_base_sensor.py  |   4 +-
 airflow/contrib/sensors/emr_job_flow_sensor.py  |   2 +-
 airflow/contrib/sensors/emr_step_sensor.py  |   2 +-
 airflow/contrib/sensors/ftp_sensor.py   |   2 +-
 airflow/contrib/sensors/gcs_sensor.py   |   4 +-
 airflow/contrib/sensors/hdfs_sensors.py |   6 +-
 airflow/contrib/sensors/jira_sensor.py  |  14 +-
 airflow/contrib/sensors/redis_key_sensor.py |   2 +-
 airflow/contrib/sensors/wasb_sensor.py  |   4 +-
 .../contrib/task_runner/cgroup_task_runner.py   |  20 +-
 airflow/executors/__init__.py   |   4 +-
 airflow/executors/base_executor.py  |  14 +-
 airflow/executors/celery_executor.py|  16 +-
 

[4/4] incubator-airflow git commit: [AIRFLOW-1604] Rename logger to log

2017-09-19 Thread bolke
[AIRFLOW-1604] Rename logger to log

In all the popular languages the variable name log
is the de facto
standard for the logging. Rename LoggingMixin.py
to logging_mixin.py
to comply with the Python standard.

When using the .logger a deprecation warning will
be emitted.

Closes #2604 from Fokko/AIRFLOW-1604-logger-to-log


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/eb2f5890
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/eb2f5890
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/eb2f5890

Branch: refs/heads/master
Commit: eb2f589099b87743482c2eb16261b49e284dcd96
Parents: 8e253c7
Author: Fokko Driesprong 
Authored: Tue Sep 19 10:17:14 2017 +0200
Committer: Bolke de Bruin 
Committed: Tue Sep 19 10:17:14 2017 +0200

--
 airflow/__init__.py |   4 +-
 airflow/api/__init__.py |   4 +-
 airflow/api/auth/backend/kerberos_auth.py   |   4 +-
 airflow/bin/cli.py  |  10 +-
 airflow/configuration.py|   4 +-
 .../auth/backends/github_enterprise_auth.py |   4 +-
 airflow/contrib/auth/backends/google_auth.py|   4 +-
 airflow/contrib/auth/backends/kerberos_auth.py  |   2 +-
 airflow/contrib/auth/backends/ldap_auth.py  |   4 +-
 airflow/contrib/auth/backends/password_auth.py  |   4 +-
 airflow/contrib/executors/mesos_executor.py |  34 +--
 airflow/contrib/hooks/bigquery_hook.py  |  24 +--
 airflow/contrib/hooks/cloudant_hook.py  |   4 +-
 airflow/contrib/hooks/databricks_hook.py|   8 +-
 airflow/contrib/hooks/datadog_hook.py   |   6 +-
 airflow/contrib/hooks/datastore_hook.py |   4 +-
 airflow/contrib/hooks/ftp_hook.py   |   6 +-
 airflow/contrib/hooks/gcp_api_base_hook.py  |   6 +-
 airflow/contrib/hooks/gcp_dataflow_hook.py  |  14 +-
 airflow/contrib/hooks/gcp_dataproc_hook.py  |  18 +-
 airflow/contrib/hooks/gcp_mlengine_hook.py  |  18 +-
 airflow/contrib/hooks/gcs_hook.py   |   4 +-
 airflow/contrib/hooks/jira_hook.py  |   4 +-
 airflow/contrib/hooks/qubole_hook.py|  12 +-
 airflow/contrib/hooks/redis_hook.py |   6 +-
 airflow/contrib/hooks/salesforce_hook.py|  14 +-
 airflow/contrib/hooks/spark_sql_hook.py |   6 +-
 airflow/contrib/hooks/spark_submit_hook.py  |  14 +-
 airflow/contrib/hooks/sqoop_hook.py |  10 +-
 airflow/contrib/hooks/ssh_hook.py   |  14 +-
 airflow/contrib/operators/bigquery_operator.py  |   2 +-
 .../operators/bigquery_table_delete_operator.py |   2 +-
 .../contrib/operators/bigquery_to_bigquery.py   |   2 +-
 airflow/contrib/operators/bigquery_to_gcs.py|   6 +-
 .../contrib/operators/databricks_operator.py|  12 +-
 airflow/contrib/operators/dataproc_operator.py  |  16 +-
 .../operators/datastore_export_operator.py  |   2 +-
 .../operators/datastore_import_operator.py  |   2 +-
 airflow/contrib/operators/ecs_operator.py   |  12 +-
 .../contrib/operators/emr_add_steps_operator.py |   4 +-
 .../operators/emr_create_job_flow_operator.py   |   4 +-
 .../emr_terminate_job_flow_operator.py  |   4 +-
 airflow/contrib/operators/file_to_wasb.py   |   2 +-
 airflow/contrib/operators/fs_operator.py|   2 +-
 .../contrib/operators/gcs_download_operator.py  |   4 +-
 airflow/contrib/operators/gcs_to_bq.py  |   2 +-
 airflow/contrib/operators/hipchat_operator.py   |   4 +-
 airflow/contrib/operators/mlengine_operator.py  |  14 +-
 airflow/contrib/operators/mysql_to_gcs.py   |   2 +-
 airflow/contrib/operators/sftp_operator.py  |   4 +-
 airflow/contrib/operators/vertica_operator.py   |   2 +-
 airflow/contrib/operators/vertica_to_hive.py|   4 +-
 airflow/contrib/sensors/bigquery_sensor.py  |   2 +-
 airflow/contrib/sensors/datadog_sensor.py   |   2 +-
 airflow/contrib/sensors/emr_base_sensor.py  |   4 +-
 airflow/contrib/sensors/emr_job_flow_sensor.py  |   2 +-
 airflow/contrib/sensors/emr_step_sensor.py  |   2 +-
 airflow/contrib/sensors/ftp_sensor.py   |   2 +-
 airflow/contrib/sensors/gcs_sensor.py   |   4 +-
 airflow/contrib/sensors/hdfs_sensors.py |   6 +-
 airflow/contrib/sensors/jira_sensor.py  |  14 +-
 airflow/contrib/sensors/redis_key_sensor.py |   2 +-
 airflow/contrib/sensors/wasb_sensor.py  |   4 +-
 .../contrib/task_runner/cgroup_task_runner.py   |  20 +-
 airflow/executors/__init__.py   |   4 +-
 airflow/executors/base_executor.py  |  14 +-
 airflow/executors/celery_executor.py|  16 +-
 airflow/executors/dask_executor.py  |   4 +-
 airflow/executors/local_executor.py |   6 +-