diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-03-14 08:16:52 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-03-14 08:16:52 -0400 |
commit | ac1da99a19a19868518e2271db24cac71c7cc2c4 (patch) | |
tree | a24790860ed107c2b564b47a46ea791f9d301044 /roles/nuage_master | |
parent | 29010917f5a988b9b621457fc43623e4f67715a2 (diff) | |
parent | b739a02aa1a1a94eb0456274932ef3512a2a5b0d (diff) | |
download | openshift-ac1da99a19a19868518e2271db24cac71c7cc2c4.tar.gz openshift-ac1da99a19a19868518e2271db24cac71c7cc2c4.tar.bz2 openshift-ac1da99a19a19868518e2271db24cac71c7cc2c4.tar.xz openshift-ac1da99a19a19868518e2271db24cac71c7cc2c4.zip |
Merge pull request #1579 from abhat/add_plugin_log
Support log level configuration for Nuage exec plugin via ansible installer
Diffstat (limited to 'roles/nuage_master')
-rw-r--r-- | roles/nuage_master/templates/nuage-openshift-monitor.j2 | 4 | ||||
-rw-r--r-- | roles/nuage_master/vars/main.yaml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/roles/nuage_master/templates/nuage-openshift-monitor.j2 b/roles/nuage_master/templates/nuage-openshift-monitor.j2 index e50e225e1..7228e646b 100644 --- a/roles/nuage_master/templates/nuage-openshift-monitor.j2 +++ b/roles/nuage_master/templates/nuage-openshift-monitor.j2 @@ -18,6 +18,10 @@ domainName: {{ domain }} # Location where logs should be saved log_dir: {{ nuage_mon_rest_server_logdir }} # Monitor rest server paramters +# Logging level for the nuage openshift monitor +# allowed options are: 0 => INFO, 1 => WARNING, 2 => ERROR, 3 => FATAL +logLevel: {{ nuage_mon_log_level }} +# Parameters related to the nuage monitor REST server nuageMonServer: URL: {{ nuage_mon_rest_server_url }} certificateDirectory: {{ cert_output_dir }} diff --git a/roles/nuage_master/vars/main.yaml b/roles/nuage_master/vars/main.yaml index 4b57273e4..ec4562c77 100644 --- a/roles/nuage_master/vars/main.yaml +++ b/roles/nuage_master/vars/main.yaml @@ -8,6 +8,7 @@ master_config_yaml: "{{ openshift_master_config_dir }}/master-config.yaml" nuage_mon_rest_server_port: "{{ nuage_openshift_monitor_rest_server_port | default('9443') }}" nuage_mon_rest_server_url: "0.0.0.0:{{ nuage_mon_rest_server_port }}" nuage_mon_rest_server_logdir: "{{ nuage_openshift_monitor_log_dir | default('/var/log/nuage-openshift-monitor') }}" +nuage_mon_log_level: "{{ nuage_openshift_monitor_log_level | default('3') }}" nuage_mon_rest_server_crt_dir: "{{ nuage_ca_master_crt_dir }}/{{ ansible_nodename }}" nuage_ca_master_rest_server_key: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.key" |