#include "squid.h"
#include <cassert>
#include <cerrno>
#include <csignal>
#include <cstring>
#include "helper/protocol_defines.h"
Go to the source code of this file.
Macros | |
#define | LOGFILE_BUF_LEN 65536 |
Functions | |
static void | rotate (const char *path, int rotate_count) |
int | main (int argc, char *argv[]) |
Macro Definition Documentation
◆ LOGFILE_BUF_LEN
#define LOGFILE_BUF_LEN 65536 |
Definition at line 34 of file log_file_daemon.cc.
Function Documentation
◆ main()
The commands:
L<data>
- logfile data R
- rotate file T
- truncate file O
- repoen file F
- flush file r<n>
- set rotate count to <n> b<n>
- 1 = buffer output, 0 = don't buffer output
Definition at line 94 of file log_file_daemon.cc.
References assert, LOGFILE_BUF_LEN, rotate(), and xstrerr().
◆ rotate()
|
static |
Definition at line 37 of file log_file_daemon.cc.
References assert, MAXPATHLEN, sb, and xstrerr().
Referenced by main().