forgotten pipe
function logging()
{
- docker logs -f $(docker ps | grep -syslog-master | awk '{print $1}') \
+ docker logs -f $(docker ps | grep -syslog-master | awk '{print $1}') | \
while read -r line ; do
echo "$line" | grep -v 'poseidon-api' | grep -i 'poseidon' | awk '{$1=$2=$3=""; print $0}' | sed -e 's/^[ \t]*//'
done
