How can I log without rsyslog?

Haproxy version: 2.0.14

For some reasons I can’t use rsyslog to log, now I just redirect logs to file like this:
/usr/sbin/haproxy -Ws -f /usr/local/etc/haproxy/haproxy.cfg >>/var/log/haproxy.log 2>&1

In this way, we can’t config and use log format, the log information is quite confusing:

we want know if there any configuration we can set in haproxy.cfg to make log more clear without rsyslog. Thanks for your suggestions!

You can make HAProxy logs to stdout with “raw” format:

global
  log stdout format raw local0 info

And add the relevant log global and option httplog in the defaults or frontend sections

thanks too much, it works for me