CustomLog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 #ifndef SQUID_CUSTOMLOG_H_
10 #define SQUID_CUSTOMLOG_H_
11 
12 #include "acl/forward.h"
13 #include "log/Formats.h"
14 
15 class Logfile;
16 namespace Format
17 {
18 class Format;
19 }
20 
22 class CustomLog
23 {
24 public:
25  char *filename;
32  size_t bufferSize;
34  bool fatal;
36  int16_t rotateCount;
37 };
38 
39 #endif /* SQUID_CUSTOMLOG_H_ */
40 
representation of a custom log directive.
Definition: CustomLog.h:22
int16_t rotateCount
How many log files to retain when rotating. Default: obey logfile_rotate.
Definition: CustomLog.h:36
Definition: File.h:38
Format(const char *name)
Definition: Format.cc:41
#define ACLList
Definition: forward.h:45
Log::Format::log_type type
Definition: CustomLog.h:30
Logfile * logfile
Definition: CustomLog.h:28
size_t bufferSize
how much to buffer before dropping or dying (access_log buffer-size)
Definition: CustomLog.h:32
CustomLog * next
Definition: CustomLog.h:29
ACLList * aclList
Definition: CustomLog.h:26
char * filename
Definition: CustomLog.h:25
Format::Format * logFormat
Definition: CustomLog.h:27
bool fatal
whether unrecoverable errors (e.g., dropping a log record) kill worker
Definition: CustomLog.h:34

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors