1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-13 06:21:50 +03:00
Commit Graph

49 Commits

Author SHA1 Message Date
84e8dc5f96 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1681760 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 13:51:29 +00:00
f222f9fdf0 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.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1666417 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 12:24:17 +00:00
fc913bb714 Regenerate xforms after s/2014/2015/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1648843 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 13:48:56 +00:00
7b3b8595f3 Generated doc changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1616371 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 23:31:12 +00:00
572b979eab Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1605984 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 08:09:57 +00:00
66dbf61405 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533943 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 18:33:04 +00:00
93ff0925d8 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. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533935 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 18:12:23 +00:00
779bd67fa2 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)



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 19:10:33 +00:00
fd457b6fd6 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1492208 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 13:58:19 +00:00
df8729c808 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1194876 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 11:21:58 +00:00
06acd17a2f update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142171 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 08:34:54 +00:00
d7f847eabf update transforms, 2nd try :-/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1138643 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 21:34:41 +00:00
c99b708ac6 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 21:53:39 +00:00
977be34827 Rebuild rotatelogs man page.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1030174 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:57:00 +00:00
ba00b6bfa4 Update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1024268 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 15:16:49 +00:00
31764ef266 Update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@916381 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 18:04:44 +00:00
3821fbfeff Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910732 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 22:23:09 +00:00
a2b7cdd8bb update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@740553 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 01:09:28 +00:00
643d77264c 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.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@734973 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 11:08:15 +00:00
618c7592fc Allow size units B, K, M, G and combination of
time and size based rotation for rotatelogs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733531 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 22:45:53 +00:00
fd96906302 rotatelogs: Add flag for verbose (debug) output.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733520 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 21:26:13 +00:00
d73d0412d5 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?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733493 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 17:36:07 +00:00
4ce764f425 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@634611 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 11:07:59 +00:00
a3cd2d0507 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.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@632355 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 15:32:38 +00:00
f6bb1db9ce * Update transformation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@602740 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 22:13:57 +00:00
29a468063d Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@597745 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 21:41:12 +00:00
b3e39d6ae1 generated rotatelogs docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596831 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 21:36:36 +00:00
26a3c35620 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104000 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 18:25:31 +00:00
453f9d14c0 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103925 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 22:21:57 +00:00
060deccba8 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103524 13f79535-47bb-0310-9956-ffa450edef68
2004-04-25 22:32:15 +00:00
522a9988e8 Regenerate man pages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101949 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 11:53:50 +00:00
1ee83b9da2 Regenerate man pages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101883 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 13:37:31 +00:00
c20f606cfd update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99647 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 20:11:03 +00:00
1ede60f5d6 for some reason, the NAME section got lost.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99640 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 14:06:17 +00:00
f8589c24f9 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99638 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 13:09:17 +00:00
8eab74cb37 build man-en
(re-)add the manpages. now autogenerated from accompanying xml source.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99590 13f79535-47bb-0310-9956-ffa450edef68
2003-04-24 22:16:47 +00:00
5c608a132d Remove the nroff man page.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99490 13f79535-47bb-0310-9956-ffa450edef68
2003-04-21 22:18:25 +00:00
b0168c4d37 Fixed an unescaped '%' in rotatelogs.8 and updated the HTML page.
PR: 18452


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99166 13f79535-47bb-0310-9956-ffa450edef68
2003-04-01 19:08:40 +00:00
ec0efe2e92 Updated the copyright years from 2002 to 2003 (complete docs subdirectory).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98566 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 20:46:07 +00:00
845cbfd508 Update our copyright for this year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
27a0eae116 Eventually I'll get this right.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91430 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 15:23:07 +00:00
127c61598e Squeeze the example down to fit on one line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91425 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 14:18:28 +00:00
0b5c3d8135 TransferLog is (sort of) deprecated, and people never seem to realize
that you can use this with CustomLog.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91421 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 13:56:52 +00:00
792583d421 Ok, this formats a whole lot cleaner, and (I believe) makes a bit more
sense.  Also provides a rundown of C89 common date format strings, for
  those users who don't have man strftime [It still points out that add'l
  format options may b available, see strftime.]

  Also, I believe _most_ installations require the TransferLog "|bin/
  path to rotatelogs, no?  Other question - how to reformat to html?
  Which utility does so?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91420 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 13:42:58 +00:00
43fbfa48f5 Enhance customisability of rotatelogs: strftime(3)
formatting of filename and offset from UTC.

Reviewed by:	Greg Stein, David Reid, OtherBill


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88511 13f79535-47bb-0310-9956-ffa450edef68
2001-03-13 21:25:28 +00:00
381f88d56a Update copyright to 2001
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
2001-02-16 04:26:53 +00:00
e63f4def85 Update to Apache Software License version 1.1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84881 13f79535-47bb-0310-9956-ffa450edef68
2000-03-31 09:42:55 +00:00
b1c26f031a Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84725 13f79535-47bb-0310-9956-ffa450edef68
2000-03-10 00:07:37 +00:00
6f96ad5227 Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83750 13f79535-47bb-0310-9956-ffa450edef68
1999-08-24 06:46:03 +00:00