rotatelogs.8

Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert borked transforms.

  1. … 15 more files in changeset.
Apply transformations.

  1. … 266 more files in changeset.
Regenerate.
  1. … 15 more files in changeset.
rebuild with extraclean to pick up permalinks in

This will make it easier to compare with an extraclean jdk9

  1. … 603 more files in changeset.
update transformation
  1. … 8 more files in changeset.
Choose "-D" instead of "-d" for the rotatelogs

option that creates the path to the log file.

I want to use "-d" for another directory related

option next where (I think) the "directory" "d"

makes more sense.

"-d" has not yet been backported, so changing

to "-D" is not a real compatibility issue.

  1. … 2 more files in changeset.
Regenerate xforms after s/2014/2015/

  1. … 714 more files in changeset.
Generated doc changes.
  1. … 4 more files in changeset.
Update transformations.

  1. … 2 more files in changeset.
update transformation

  1. … 16 more files in changeset.
Followup to r1533810: Put the rotatelogs docs in the right place.

* docs/man/rotatelogs.8,

docs/manual/programs/rotatelogs.html.en: Remove changes from r1533810.

* docs/manual/programs/rotatelogs.xml: Adjust docs for new -d option.

  1. … 2 more files in changeset.
Add an option to autocreate directories to rotatelogs.

* support/rotatelogs.c

(rotate_config): Remove const from szLogRoot since we'll be passing it to

apr_filepath_merge. Add create_path member.

(usage, dumpConfig): Update to reflect new -d option.

(doRotate): Add code that knows how to create the directories a log file

is going to go into.

(main): Add the -d option and canonicalize the incoming path with

apr_filepath_merge() so that the code in doRotate can work properly.

* docs/man/rotatelogs.8,

docs/manual/programs/rotatelogs.html.en: Update for -d option.

PR: 46669

Submitted by: Philippe Lantin <plantin cobaltgroup.com>

(which was actually a patch written by myself when I worked there)

Tweaked by: breser (ported to trunk and changed option from -p to -d)

  1. … 2 more files in changeset.
update transformation

  1. … 10 more files in changeset.
Update transformations.

  1. … 11 more files in changeset.
update transforms

  1. … 45 more files in changeset.
update transforms, 2nd try :-/

  1. … 18 more files in changeset.
update transformation

  1. … 4 more files in changeset.
Rebuild rotatelogs man page.

Update transforms
  1. … 4 more files in changeset.
Update transforms
  1. … 55 more files in changeset.
Update transformations.

  1. … 3 more files in changeset.
update transformation
  1. … 10 more files in changeset.
Mostly revert r733493: signal based rotation

for rotatelogs.

Prefer adding reliable piped logs to the error

loggers in httpd, so that one could simply

kill rotatelogs and httpd automatically starts new

instances of all loggers.

  1. … 2 more files in changeset.
Allow size units B, K, M, G and combination of

time and size based rotation for rotatelogs.

  1. … 3 more files in changeset.
rotatelogs: Add flag for verbose (debug) output.

  1. … 3 more files in changeset.
Allow to trigger rotatelogs log file rotation from

using HUP and INT signals to the rotatelogs process.

This is helpful, when log activity is low, but you want

rotatelogs to close the open log files.

SIGHUP triggers checking the rules given during startup,

SIGINT forces rotate independently form those rules.

When the signal triggers a rotation, the open file

is closed immediately. The new file is opened when

new log data arrives, or in case "-f" was given it

is opened immediately.

Based on my patch in BZ 44427.

Note on Windows: The new functionality is undefined when

SIGHUP or SIGINT are not available. Does the use case

make sense on Windows? If so, which signals should we use?

  1. … 3 more files in changeset.
update transformation

  1. … 1 more file in changeset.
Add in new option for rotatelogs: -f

This forces rotatelogs to create the logfile as soon

as started not as soon as it sees it's first line

of input.

  1. … 3 more files in changeset.
* Update transformation.

  1. … 3 more files in changeset.
Update transformations
  1. … 5 more files in changeset.