Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Apache
cronolog
cronolog_manpage.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cronolog_manpage.patch of Package cronolog
Index: cronolog-1.7.0/doc/cronolog.1m =================================================================== --- cronolog-1.7.0.orig/doc/cronolog.1m +++ cronolog-1.7.0/doc/cronolog.1m @@ -29,7 +29,7 @@ checks the time to see whether the curre if not it closes the current file, expands the template using the current date and time to generate a new file name, opens the new file (creating missing directories on the path of the new log file as -needed unless the program is compiled with -DDONT_CREATE_SUBDIRS) and +needed unless the program is compiled with \-DDONT_CREATE_SUBDIRS) and calculates the time at which the new file will become invalid. .PP .B cronolog @@ -37,21 +37,21 @@ is intended to be used in conjunction wi Apache to split the access log into daily or monthly logs. For example the Apache configuration directives: .LP - TransferLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log" - ErrorLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log" + TransferLog "|/usr/bin/cronolog /var/log/apache2/%Y/%m/%d/access.log" + ErrorLog "|/usr/bin/cronolog /var/log/apache2/%Y/%m/%d/errors.log" .LP would instruct Apache to pipe its access and error log messages into separate copies of cronolog, which would create new log files each day in a directory hierarchy structured by date, i.e. on 31 December 1996 messages would be written to .LP - /www/logs/1996/12/31/access.log - /www/logs/1996/12/31/errors.log + /var/log/apache2/2019/12/31/access.log + /var/log/apache2/2019/12/31/errors.log .P after midnight the files .LP - /www/logs/1997/01/01/access.log - /www/logs/1997/01/01/errors.log + /var/log/apache2/2019/01/01/access.log + /var/log/apache2/2019/01/01/errors.log .P would be used, with the directories 1997, 1997/01 and 1997/01/01 being created if they did not already exist. (Note that prior to version 1.2 Apache @@ -77,7 +77,7 @@ maintain a symbolic link from to the current log file. .\" .IP "-P \fINAME\fP" -.IP "--prevlink=\fINAME\fP" +.IP "--prev-simlink=\fINAME\fP" maintain a symbolic link from .I NAME to the previous log file. Requires that the @@ -85,8 +85,8 @@ to the previous log file. Requires that option is specified, as cronolog renames the current link to the name specified for the previous link. .\" -.IP -h -.IP --help +.IP "-h" +.IP "--help" print a help message and then exit. .\" .IP "-p \fIPERIOD\fP" @@ -105,7 +105,7 @@ specifies the delay from the start of th is rolled over. For example specifying (explicitly or implicitly) a period of 15 minutes and a delay of 5 minutes results in the log files being rotated at five past, twenty past, twentyfive to and ten to each -hour. The delay cannot be longer than the period. +hour. The delay cannot be longer than the period. .\" .IP "-o" .IP "--once-only" @@ -129,19 +129,19 @@ month are reversed if the american optio seconds are omitted then they are taken as zero and if the hours and minutes are omitted then the time of day is taken as 00:00:00 (i.e. midnight). The day, month and year can be separated by spaces, -hyphens (-) or solidi (/). +hyphens (\-) or solidi (/). .\" -.IP -a -.IP --american +.IP "-a" +.IP "--american" Interprete the date part of the starting time the American way (month then day). -.IP -e -.IP --european +.IP "-e" +.IP "--european" Interprete the date part of the starting time the European way (day then month). This is the default. .\" -.IP -v -.IP --version +.IP "-v" +.IP "--version" print version information and exit. .\" .\" @@ -159,7 +159,7 @@ followed by one of the following charact .IP % a literal % character .IP n -a new-line character +a new\-line character .IP t a horizontal tab character .PP @@ -226,7 +226,7 @@ More information and the latest version .B cronolog can be obtained from .LP - http://www.ford-mason.co.uk/resources/cronolog/ + https://github.com/fordmason/cronolog .LP If you have any suggestions, bug reports, fixes, or enhancements, please mail them to the author. @@ -245,7 +245,7 @@ the case where multiple log streams are (template), for example where different virtual servers write to the same set of log files. .SH AUTHOR -Andrew Ford <A.Ford@ford-mason.co.uk> +Andrew Ford <A.Ford@ford\-mason.co.uk> .LP .B cronolog is based on a program called Index: cronolog-1.7.0/doc/cronosplit.1m =================================================================== --- cronolog-1.7.0.orig/doc/cronosplit.1m +++ cronolog-1.7.0/doc/cronosplit.1m @@ -11,13 +11,15 @@ cronosplit \- split log files into crono .\" .SH SYNOPSIS .B cronosplit ---template=TEMPLATE [--print-invalid] [--help] [--version] file ... +\-\-template=TEMPLATE [\-\-print\-invalid] [\-\-help] [\-\-version] file ... .\" .SH DESCRIPTION .B cronosplit is a simple program that reads lines from a set of input log files, which must be in .I "Common Log Format" +or +.I "NCSA Combined/XLF/ELF Format" and write each lines to an output files, the name of which is constructed using the .B template @@ -28,7 +30,7 @@ command (which are the same as the stand function). .\" .SH Options -.C cronosplit +.B cronosplit accepts the following options and arguments: .IP "--template=\fITEMPLATE\fP" specifies the template for the output log files (using the format @@ -50,7 +52,7 @@ followed by one of the following charact .IP % a literal % character .IP n -a new-line character +a new\-line character .IP t a horizontal tab character .PP @@ -120,7 +122,7 @@ and .B cronosplit can be obtained from .LP - http://www.ford-mason.co.uk/resources/cronolog/ + https://github.com/fordmason/cronolog .LP If you have any suggestions, bug reports, fixes, or enhancements, please mail them to the author. @@ -129,7 +131,7 @@ Documentation for the Apache http server .LP http://www.apache.org .SH AUTHOR -Andrew Ford <A.Ford@ford-mason.co.uk> +Andrew Ford <A.Ford@ford\-mason.co.uk> .LP .B cronosplit is based on a script called
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor