Category : syslog

I am trying to log my containered applications via Docker using syslog/rsyslog as logging driver. For this I used the instructions from https://www.commandprompt.com/blog/docker-logging-with-rsyslog/ . For the first container it worked fined. With the second container I get following error message: "ERROR: for tomcat Cannot create container for service tomcat: stat /dev/log/: not a directory". Working ..

Read more

I’m working on collecting logs from docker containerized application. I’m able to bring the logs to stdout output plugin but when I am trying syslog output plugin then it is not writing on syslog server. Below is the configuration file. [SERVICE] Parsers_File /etc/td-agent-bit/parsers.conf [INPUT] Name forward [Output] name syslog match * host 127.0.0.1 port 514 ..

Read more

We have an Ubuntu 18.04.1 bionic container running on a ubuntu 18.04.1 bionic workstation. In the container we run RSyslog to log output from a number of applications. The logging works but when it is time to rotate the logfile we get the following error execve("/opt/xxxxx/logrotation.sh", ["/opt/xxxxx/logrotation.sh", "/var/log/xxxx/appl.log"], 0x7ffc5b84a8d8 /* 18 vars */) = -1 ..

Read more