Skip to content

psemiletov/logfilegen

Repository files navigation

logfilegen

The server log file generator

Release Tests

Docker Docker downloads

Official site

Dockerhub repo

AUR, openSUSE

ABOUT

Logfilegen is a fast and highly customizable tool to generate server (nginx, etc) or user-defined format log files. You can generate log file with the desired rate (lines per second), the file size, lines count and the duration. Each variable of the log file can be redefined by the random or static value. logfilegen depends just on GCC or Clang with C++11 support, and, optionally, cmake.

USE

The server log file generator. logfilegen is controlled by the configuration variables and templates. The usual way to run logfilegen from the command line is, for example:

logfilegen --template=mytemplate.tp --duration=20 --rate=100 --logfile=out.log

The configuration variables affects how logfilegen works, and templates affects the generation of log file.

Please read the Manual:

Installation

Configuration

Using templates

Using metrics