SYNOPSIS
writelog LOGFILE CMDLINE
DESCRIPTION
Writelog is a daemon that writes the logfile of gatling. Gatling only writes to stdout, so writelog enables logrotation of this data stream by providing a handler of SIGUSR1 for closing and reopening the specified logfile.The following signals are handled by writelog:
- SIGTERM Terminates writelog and its child (gatling).
- SIGUSR1 Causes writelog to reopen the logfile. Useful for logrotation.
-
SIGHUP
Delegates SIGHUP to gatling.
EXAMPLES
writelog /var/log/gatling.log tlsgatling -e -v -D -S -F -U -u nobody