mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-07-20 12:50:19 +07:00
Day 81
This commit is contained in:
7
Days/Monitoring/Fluentd/introduction/file/app.sh
Executable file
7
Days/Monitoring/Fluentd/introduction/file/app.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
while true
|
||||
do
|
||||
echo "Writing log to a file"
|
||||
echo '{"app":"file-myapp"}' >> /app/example-log.log
|
||||
sleep 5
|
||||
done
|
Reference in New Issue
Block a user