mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 22:23:48 +03:00
580f7677ad
* Use syslog to manage caddy std{out,err} on FreeBSD There is no good way to rotate the logfile created by the previous FreeBSD rc.d script (it's the result of redirecting std{out,err} and is held open by the shell). This solves the problem by sending caddy's std{out,err} stream to syslog, using the daemon command's builtin functionality. It replaces the old `caddy_logfile` rc.conf variable with `caddy_syslog_facility` (which defaults to 'local7') and `caddy_syslog_level` (which defaults to 'notice'). By default, these messages will end up in /var/log/messages but can be redirected as documented in the script's comments. * Add info about rotating log with newsyslog If you create a caddy specific logfile in `/var/log`, you should rotate it. This adds a bit of info to the dist/init/freebsd/README.md about rotating that log file with newsyslog. |
||
---|---|---|
.. | ||
init | ||
CHANGES.txt | ||
LICENSES.txt | ||
README.txt |
CADDY 1.0.1 Website https://caddyserver.com Community Forum https://caddy.community Twitter @caddyserver Source Code https://github.com/caddyserver/caddy https://github.com/caddyserver For instructions on using Caddy, please see the docs on the website. For a list of what's new in this version, see CHANGES.txt. For a good time, follow @mholt6 on Twitter. Want to get involved with Caddy's development? We love to have contributions! Please file an issue on GitHub to discuss a change or fix you'd like to make, then submit a pull request and we'll review it! Your contributions will reach millions of people who connect to sites served by Caddy. Extend Caddy by developing a plugin for it! Instructions on the project wiki: https://github.com/caddyserver/caddy/wiki And thanks - you're awesome! --- (c) 2015-2019 Light Code Labs, LLC