Skip to content

Commit 95e3fd4

Browse files
authored
Turn off debug logging for script-exporter (#974)
* Disabled debug logging for script-exporter Over the course of a month or so, the logs start to fill up the filesystem, since the script appends the entire output of each script run to a single file for each machine. * Sets value of LOGX_DEBUG to an empty string The script doesn't check for true or false, but just [[ -n $LOGX_DEBUG ]]. I could remove the environment variable altogether, but I sort of like leaving it so that people down the road have visibility that this feature even exists. It is explicity, not implicit. * Removes env variable LOGX_DEBUG altogether from script-exporter
1 parent e047bdc commit 95e3fd4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

k8s/prometheus-federation/deployments/script-exporter.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ spec:
3636
args:
3737
- -config.file=/etc/script_exporter/script_exporter.yml
3838
env:
39-
- name: LOGX_DEBUG
40-
value: 'true'
4139
- name: MONITORING_SIGNER_KEY
4240
value: /keys/monitoring-signer-key.json
4341
- name: LOCATE_URL

0 commit comments

Comments
 (0)