Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/syslogd/syslog.conf.5
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93 | .\" @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 1, 2016 | .Dd June 25, 2019 | ||||
.Dt SYSLOG.CONF 5 | .Dt SYSLOG.CONF 5 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm syslog.conf | .Nm syslog.conf | ||||
.Nd | .Nd | ||||
.Xr syslogd 8 | .Xr syslogd 8 | ||||
configuration file | configuration file | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
▲ Show 20 Lines • Show All 297 Lines • ▼ Show 20 Lines | |||||
.Dq - , | .Dq - , | ||||
to forego syncing the specified file after every kernel message. | to forego syncing the specified file after every kernel message. | ||||
Note that you might lose information if the system crashes | Note that you might lose information if the system crashes | ||||
immediately following a write attempt. | immediately following a write attempt. | ||||
Nevertheless, using the | Nevertheless, using the | ||||
.Dq - | .Dq - | ||||
option may improve performance, | option may improve performance, | ||||
especially if the kernel is logging many messages. | especially if the kernel is logging many messages. | ||||
.Pp | |||||
Options may be specified after the pathname. | |||||
The options, delimited by whitespace, take the form of a letter, | |||||
potentially followed by an associated value. | |||||
The available options are: | |||||
.Bl -tag -indent | |||||
.It Ar R size | |||||
Limit the growth of the file to the given size. | |||||
If the file exceeds that size, enter | |||||
.Dq recycle | |||||
mode, in which the last 32 KBytes of the file become a circular buffer | |||||
which is continually overwritten, preserving the bulk of the original file. | |||||
The size is specified in bytes, with the usual power-of-two suffixes | |||||
recognized. | |||||
.El | |||||
.It | .It | ||||
A hostname (preceded by an at | A hostname (preceded by an at | ||||
.Pq Dq @ | .Pq Dq @ | ||||
sign). | sign). | ||||
Selected messages are forwarded to the | Selected messages are forwarded to the | ||||
.Xr syslogd 8 | .Xr syslogd 8 | ||||
program on the named host. | program on the named host. | ||||
If a port number is added after a colon | If a port number is added after a colon | ||||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |