Skip to content

Commit

Permalink
Merge pull request #126 from zalando-stups/revert-124-taupage-log-rot…
Browse files Browse the repository at this point in the history
…ation

Revert "Taupage log rotation"
  • Loading branch information
aermakov-zalando committed Jan 12, 2018
2 parents b677613 + 5ff58ea commit ad8fc3b
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions components/taupage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ See https://docs.docker.com/reference/run/#runtime-privilege-linux-capabilities-
**Warning: this has serious security implications that you must understand and consider!**

docker_daemon_access:
---------------------
-----------

**(optional, default: false)**

Expand All @@ -310,36 +310,36 @@ the Docker daemon of the host system. **Warning: this has serious security impli
understand and consider!**

read_only:
----------
-----------

**(optional, default: false)**

The container will run with --read-only option.
Mount the container's root filesystem as read only.

mount_var_log:
--------------
-----------

**(optional, default: false)**

This will mount /var/log into the Docker container /var/log-host as read-only.

mount_custom_log:
-----------------
-----------

**(optional, default: false)**

This will mount /var/log-custom into the Docker container /var/log as read-write.

mount_certs:
------------
-----------

**(optional, default: false)**

This will mount /etc/ssl/certs into the Docker container as read-only.

keep_instance_users: true:
--------------------------
--------------------

**(optional, default: false)**

Expand All @@ -349,7 +349,7 @@ Access to the instances will be granted via Even&Odd.
See https://docs.stups.io/en/latest/user-guide/ssh-access.html for more.

enhanced_cloudwatch_metrics: true
---------------------------------
--------------------

**(optional, default: false)**

Expand Down Expand Up @@ -659,24 +659,8 @@ These are settings how logrotate will rotate your custom logs.
* Log files are rotated count times before being removed or mailed to the address specified in a mail directive. If count is 0, old versions are removed rather than rotated.
* **Default: 5**

logrotate_interval_minutes
--------------------------

**(optional)**

If set, logrotate will run every ``logrotate_interval_minutes`` minutes instead of hourly.

rsyslog_application_hardlimit
-----------------------------

**(optional)**

If the size of the ``application.log`` file exceeds this number, ``rsyslog`` will run ``logrotate`` before appending the next line. This setting should be greater than ``application_logrotate_size``, because rotating logs this way has more adverse effects on your application (it will be blocked on writing to stdout while the rotation is in progress, for example).

If size is followed by M, the size if assumed to be in megabytes. If the G suffix is used, the size is in gigabytes. If the k is used, the size is in kilobytes. So size 100, size 100k, and size 100M are all valid.

rsyslog_max_message_size
------------------------
--------------------

**(optional)**

Expand Down

0 comments on commit ad8fc3b

Please sign in to comment.