icinga2/lib/base/accesslogger.ti
2025-04-29 11:09:01 +02:00

21 lines
398 B
Plaintext

/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */
#include "base/filelogger.hpp"
library base;
namespace icinga
{
class AccessLogger : FileLogger
{
activation_priority -99;
[config] String format {
default {{{ return R"EOF($remote.address$ - $remote.user$ [$time.%d/%b/%Y:%T %z$] "$request.method$ $request.uri$ HTTP/$request.protocol$" $response.status$ $response.size$
)EOF"; }}}
};
};
}