| 1 |
Description: fix manpages errors |
| 2 |
* change a invalid .C nroff macro to .B macro. |
| 3 |
* some lintian warning fixed. |
| 4 |
* added --print-invalid in cronosplit manpage. |
| 5 |
* change "/www/sbin/cronolog" to "/usr/bin/cronolog" in example. |
| 6 |
Author: Maxime Chatelle <[email protected]> |
| 7 |
Forwarded: no |
| 8 |
Last-Update: 2011-06-05 |
| 9 |
|
| 10 |
Index: cronolog-1.6.2/doc/cronolog.1m |
| 11 |
=================================================================== |
| 12 |
--- cronolog-1.6.2.orig/doc/cronolog.1m 2011-06-04 02:13:51.374919134 +0200 |
| 13 |
+++ cronolog-1.6.2/doc/cronolog.1m 2011-06-04 03:07:52.314917891 +0200 |
| 14 |
@@ -29,7 +29,7 @@ |
| 15 |
if not it closes the current file, expands the template using the |
| 16 |
current date and time to generate a new file name, opens the new file |
| 17 |
(creating missing directories on the path of the new log file as |
| 18 |
|
| 19 |
+needed unless the program is compiled with \-DDONT_CREATE_SUBDIRS) and |
| 20 |
calculates the time at which the new file will become invalid. |
| 21 |
.PP |
| 22 |
.B cronolog |
| 23 |
@@ -37,8 +37,8 @@ |
| 24 |
Apache to split the access log into daily or monthly logs. For |
| 25 |
example the Apache configuration directives: |
| 26 |
.LP |
| 27 |
|
| 28 |
|
| 29 |
+ TransferLog "|/usr/bin/cronolog /www/logs/%Y/%m/%d/access.log" |
| 30 |
+ ErrorLog "|/usr/bin/cronolog /www/logs/%Y/%m/%d/errors.log" |
| 31 |
.LP |
| 32 |
would instruct Apache to pipe its access and error log messages into |
| 33 |
separate copies of cronolog, which would create new log files each day |
| 34 |
@@ -59,7 +59,7 @@ |
| 35 |
ErrorLog directive.) |
| 36 |
|
| 37 |
.SH Options |
| 38 |
|
| 39 |
+.B cronolog |
| 40 |
accepts the following options and arguments: |
| 41 |
.\" |
| 42 |
.IP "-H \fINAME\fP" |
| 43 |
@@ -85,8 +85,8 @@ |
| 44 |
option is specified, as cronolog renames the current link to the name |
| 45 |
specified for the previous link. |
| 46 |
.\" |
| 47 |
|
| 48 |
|
| 49 |
+.IP "-h" |
| 50 |
+.IP "--help" |
| 51 |
print a help message and then exit. |
| 52 |
.\" |
| 53 |
.IP "-p \fIPERIOD\fP" |
| 54 |
@@ -129,19 +129,19 @@ |
| 55 |
seconds are omitted then they are taken as zero and if the hours and |
| 56 |
minutes are omitted then the time of day is taken as 00:00:00 |
| 57 |
(i.e. midnight). The day, month and year can be separated by spaces, |
| 58 |
|
| 59 |
+hyphens (\-) or solidi (/). |
| 60 |
.\" |
| 61 |
|
| 62 |
|
| 63 |
+.IP "-a" |
| 64 |
+.IP "--american" |
| 65 |
Interprete the date part of the starting time the American way (month |
| 66 |
then day). |
| 67 |
|
| 68 |
|
| 69 |
+.IP "-e" |
| 70 |
+.IP "--european" |
| 71 |
Interprete the date part of the starting time the European way (day |
| 72 |
then month). This is the default. |
| 73 |
.\" |
| 74 |
|
| 75 |
|
| 76 |
+.IP "-v" |
| 77 |
+.IP "--version" |
| 78 |
print version information and exit. |
| 79 |
.\" |
| 80 |
.\" |
| 81 |
@@ -159,7 +159,7 @@ |
| 82 |
.IP % |
| 83 |
a literal % character |
| 84 |
.IP n |
| 85 |
|
| 86 |
+a new\-line character |
| 87 |
.IP t |
| 88 |
a horizontal tab character |
| 89 |
.PP |
| 90 |
@@ -226,7 +226,7 @@ |
| 91 |
.B cronolog |
| 92 |
can be obtained from |
| 93 |
.LP |
| 94 |
|
| 95 |
+ http://www.ford\-mason.co.uk/resources/cronolog/ |
| 96 |
.LP |
| 97 |
If you have any suggestions, bug reports, fixes, or enhancements, |
| 98 |
please mail them to the author. |
| 99 |
@@ -245,7 +245,7 @@ |
| 100 |
(template), for example where different virtual servers write to the |
| 101 |
same set of log files. |
| 102 |
.SH AUTHOR |
| 103 |
|
| 104 |
+Andrew Ford <A.Ford@ford\-mason.co.uk> |
| 105 |
.LP |
| 106 |
.B cronolog |
| 107 |
is based on a program called |
| 108 |
Index: cronolog-1.6.2/doc/cronosplit.1m |
| 109 |
=================================================================== |
| 110 |
--- cronolog-1.6.2.orig/doc/cronosplit.1m 2011-06-05 16:37:43.722866088 +0200 |
| 111 |
+++ cronolog-1.6.2/doc/cronosplit.1m 2011-06-08 18:15:04.645929608 +0200 |
| 112 |
@@ -11,7 +11,7 @@ |
| 113 |
.\" |
| 114 |
.SH SYNOPSIS |
| 115 |
.B cronosplit |
| 116 |
---template=TEMPLATE [--print-invalid] [--help] [--version] file ... |
| 117 |
+\-\-template=TEMPLATE [\-\-print\-invalid] [\-\-help] [\-\-version] file ... |
| 118 |
.\" |
| 119 |
.SH DESCRIPTION |
| 120 |
.B cronosplit |
| 121 |
@@ -30,11 +30,13 @@ |
| 122 |
function). |
| 123 |
.\" |
| 124 |
.SH Options |
| 125 |
-.C cronosplit |
| 126 |
+.B cronosplit |
| 127 |
accepts the following options and arguments: |
| 128 |
.IP "--template=\fITEMPLATE\fP" |
| 129 |
specifies the template for the output log files (using the format |
| 130 |
specifiers described below). |
| 131 |
+.IP "--print-invalid" |
| 132 |
+print invalid log file entries to the standard error stream. |
| 133 |
.IP "--verbose" |
| 134 |
print additional status messages to the standard error stream. |
| 135 |
.IP "--debug" |
| 136 |
@@ -52,7 +54,7 @@ |
| 137 |
.IP % |
| 138 |
a literal % character |
| 139 |
.IP n |
| 140 |
-a new-line character |
| 141 |
+a new\-line character |
| 142 |
.IP t |
| 143 |
a horizontal tab character |
| 144 |
.PP |
| 145 |
@@ -122,7 +124,7 @@ |
| 146 |
.B cronosplit |
| 147 |
can be obtained from |
| 148 |
.LP |
| 149 |
- http://www.ford-mason.co.uk/resources/cronolog/ |
| 150 |
+ http://www.ford\-mason.co.uk/resources/cronolog/ |
| 151 |
.LP |
| 152 |
If you have any suggestions, bug reports, fixes, or enhancements, |
| 153 |
please mail them to the author. |
| 154 |
@@ -131,7 +133,7 @@ |
| 155 |
.LP |
| 156 |
http://www.apache.org |
| 157 |
.SH AUTHOR |
| 158 |
-Andrew Ford <[email protected]> |
| 159 |
+Andrew Ford <A.Ford@ford\-mason.co.uk> |
| 160 |
.LP |
| 161 |
.B cronosplit |
| 162 |
is based on a script called |