]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/CustomLog.h
2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_CUSTOMLOG_H_
10 #define SQUID_CUSTOMLOG_H_
12 #include "acl/forward.h"
13 #include "log/Formats.h"
21 /// representation of a custom log directive.
25 /// \returns whether the daemon module is used for this log
26 bool usesDaemon() const;
30 Format::Format
*logFormat
;
33 Log::Format::log_type type
;
34 /// how much to buffer before dropping or dying (access_log buffer-size)
36 /// whether unrecoverable errors (e.g., dropping a log record) kill worker
38 /// How many log files to retain when rotating. Default: obey logfile_rotate
42 #endif /* SQUID_CUSTOMLOG_H_ */