mirror of
https://github.com/Febbweiss/docker-apache-log-generator.git
synced 2026-03-04 22:35:37 +00:00
Feature: change the source to manage timezone
This commit is contained in:
@@ -4,7 +4,7 @@ USER root
|
|||||||
|
|
||||||
RUN apt-get clean && apt-get update \
|
RUN apt-get clean && apt-get update \
|
||||||
&& apt-get install -y build-essential unzip \
|
&& apt-get install -y build-essential unzip \
|
||||||
&& wget -O Fake-Apache-Log-Generator.zip https://github.com/kiritbasu/Fake-Apache-Log-Generator/archive/master.zip \
|
&& wget -O Fake-Apache-Log-Generator.zip https://github.com/febbweiss/Fake-Apache-Log-Generator/archive/master.zip \
|
||||||
&& unzip Fake-Apache-Log-Generator.zip \
|
&& unzip Fake-Apache-Log-Generator.zip \
|
||||||
&& mv Fake-Apache-Log-Generator-master /fake-apache-log-generator \
|
&& mv Fake-Apache-Log-Generator-master /fake-apache-log-generator \
|
||||||
&& rm Fake-Apache-Log-Generator.zip \
|
&& rm Fake-Apache-Log-Generator.zip \
|
||||||
|
|||||||
@@ -9,6 +9,14 @@ python apache-fake-log-gen.py -o LOG -p /var/log/apache/apache -n 0 -s 3
|
|||||||
```
|
```
|
||||||
The endless generated file is located in /var/log and a line is appended every 3 seconds.
|
The endless generated file is located in /var/log and a line is appended every 3 seconds.
|
||||||
|
|
||||||
|
Timezone :
|
||||||
|
----------
|
||||||
|
You can change the timezone mounting */etc/timezone* and */etc/localtime* files with a file content such as :
|
||||||
|
```shell
|
||||||
|
Europe/Paris
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Licences :
|
Licences :
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user