Skip to content

Commit 5301bd1

Browse files
author
Bryan Kendall
committed
break docker log lines
1 parent 364e8ec commit 5301bd1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ansible/roles/custom_metrics/files/docker_log_lines.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22
set -e
33

4+
echo "don't use this script. change it (and test) with filesize, not length"
5+
# du -d /docker/containers/$id/$id-json.log ?? -- anand
6+
exit 0
7+
48
# don't run this if datadog is not installed
59
if [ ! -e /usr/bin/dd-agent ]; then exit 0; fi
610

0 commit comments

Comments
 (0)