Skip to content

Commit 7698151

Browse files
author
French Ben
committed
Updated Azure logs to match AWS format
Signed-off-by: French Ben <[email protected]>
1 parent 9c9fb6d commit 7698151

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

azure/release/files/custom-data_manager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export MANAGER_IP=$(ifconfig eth0 | grep "inet addr:" | cut -d: -f2 | cut -d" "
1515
export VMSS_MGR="dockerswarm-managervmss"
1616
export VMSS_WRK="dockerswarm-worker-vmss"
1717
# create daemon config with custom tag
18-
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}/{{.ID}}\" }}" > /etc/docker/daemon.json
18+
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}-{{.ID}}\" }}" > /etc/docker/daemon.json
1919
service docker restart
2020
sleep 5
2121

azure/release/files/custom-data_manager_cloud.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export CLOUD_USER="variables('dockerCloudUsername')"
2020
export CLOUD_KEY="variables('dockerCloudAPIKey')"
2121

2222
# create daemon config with custom tag
23-
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}/{{.ID}}\" }}" > /etc/docker/daemon.json
23+
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}-{{.ID}}\" }}" > /etc/docker/daemon.json
2424
service docker restart
2525
sleep 5
2626

azure/release/files/custom-data_manager_ddc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export DDC_USER="variables('ddcUser')"
1919
export DDC_PASS="variables('ddcPass')"
2020

2121
# create daemon config with custom tag
22-
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}/{{.ID}}\" }}" > /etc/docker/daemon.json
22+
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}-{{.ID}}\" }}" > /etc/docker/daemon.json
2323
service docker restart
2424
sleep 5
2525

azure/release/files/custom-data_worker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export SWARM_LOGS_STORAGE_ACCOUNT="variables('swarmLogsStorageAccount')"
1515
export MANAGER_IP=$(ifconfig eth0 | grep "inet addr:" | cut -d: -f2 | cut -d" " -f1)
1616

1717
# create daemon config with custom tag
18-
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}/{{.ID}}\" }}" > /etc/docker/daemon.json
18+
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}-{{.ID}}\" }}" > /etc/docker/daemon.json
1919
service docker restart
2020
sleep 5
2121

azure/release/files/custom-data_worker_ddc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export SWARM_LOGS_STORAGE_ACCOUNT="variables('swarmLogsStorageAccount')"
1515
export MANAGER_IP=$(ifconfig eth0 | grep "inet addr:" | cut -d: -f2 | cut -d" " -f1)
1616

1717
# create daemon config with custom tag
18-
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}/{{.ID}}\" }}" > /etc/docker/daemon.json
18+
echo "{\"log-driver\": \"syslog\",\"log-opts\": {\"syslog-address\": \"udp://localhost:514\", \"tag\": \"{{.Name}}-{{.ID}}\" }}" > /etc/docker/daemon.json
1919
service docker restart
2020
sleep 5
2121

0 commit comments

Comments
 (0)