Closed xu644629187 closed 3 years ago
fabio.properties has documentation about logging. Specifically:
# log.access.target configures where the access log is written to.
#
# Options are 'stdout'. If the value is empty no access log is written.
#
# The default is
#
# log.access.target =
fabio.properties has documentation about logging. Specifically:
# log.access.target configures where the access log is written to. # # Options are 'stdout'. If the value is empty no access log is written. # # The default is # # log.access.target =
It seems that stdout only controls whether the log is output, but it cannot set the control log print path, such as > > / APP / test / log, and automatic log cutting
are you deploying on a distribution using systemd by any chance?
are you deploying on a distribution using systemd by any chance?
Yes, I started it with SYSTEMd
If you are using rsyslog, you can use something like this:
$template fabioOut,"%rawmsg%\n"
if $programname == 'fabio' then /var/log/fabio;fabioOut
& stop
closing due to inactivity