Skip to content

Commit

Permalink
Item12952: cure parse errors in Config.spec
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/LogDispatchContrib@17851 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Aug 1, 2014
1 parent aa96890 commit db6526a
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions lib/Foswiki/Contrib/LogDispatchContrib/Config.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $Foswiki::cfg{Log}{LogDispatch}{EventIterator} = {
# date-stamping each filename per the specified pattern.
$Foswiki::cfg{Log}{LogDispatch}{FileRolling}{Enabled} = $TRUE;

# **PERL EXPERT DISPLAY_IF {Log}{LogDispatch}{FileRolling}{Enabled}**
# **PERL EXPERT DISPLAY_IF="{Log}{LogDispatch}{FileRolling}{Enabled}"**
# Specifies the range of levels <em>by name</em> that are logged to each file. Entered in format of:<br />
# <code>filename-prefix => 'minimum:maximum',</code> (be sure to include comma!)<br />
# The ranges may overlap or skip levels<br />
Expand All @@ -53,15 +53,15 @@ $Foswiki::cfg{Log}{LogDispatch}{FileRolling}{FileLevels} = {
error => 'notice:emergency',
};

# **STRING 20** DISPLAY_IF {Log}{LogDispatch}{FileRolling}{Enabled}**
# **STRING 20 DISPLAY_IF="{Log}{LogDispatch}{FileRolling}{Enabled}"**
# Pattern to use for the filenames. File names are built from the log class (error, debug, events) and this suffix.
# Date format is specified by <code>%d{..pattern..}%</code>. Valid pattern characters include <ul><li>y - Year digit</li>
# <li><code>M</code> - Month digit or name if > 2 characters</li><li><code>d</code> - day</li><li><code>$</code> - Process ID</li></ul>The
# process ID can be helpful to avoid log file contention in extremely busy systems, or on systems that do not support file locking (flock),
# but is incompatible with the <code>eachEventSince</code> log processor..
$Foswiki::cfg{Log}{LogDispatch}{FileRolling}{Pattern} = '-%d{yyyy-MM}.log';

# **PERL EXPERT DISPLAY_IF {Log}{LogDispatch}{FileRolling}{Enabled}**
# **PERL EXPERT DISPLAY_IF="{Log}{LogDispatch}{FileRolling}{Enabled}"**
# Array of fields to be joined together to build the log record. The default value will generate log records compatible with the default Foswiki loggers
# Each entry consists of a list, first the delimiter used to build the records, and then each logger field to be included.
# if an entry for the log level being written is not found, then the <code>DEFAULT</code> layout will be used.
Expand All @@ -77,7 +77,7 @@ $Foswiki::cfg{Log}{LogDispatch}{FileRolling}{Layout} = {
# without any locking or file rotation.
$Foswiki::cfg{Log}{LogDispatch}{File}{Enabled} = $FALSE;

# **PERL EXPERT DISPLAY_IF {Log}{LogDispatch}{File}{Enabled}**
# **PERL EXPERT DISPLAY_IF="{Log}{LogDispatch}{File}{Enabled}"**
# Specifies the range of levels <em>by name</em> that are logged to each file. Entered in format of:<br />
# <code>filename-prefix => 'minimum:maximum',</code> (be sure to include the trailing comma!)<br />
# The ranges may overlap or skip levels, but must be in order of lower:higher.<br />
Expand All @@ -93,7 +93,7 @@ $Foswiki::cfg{Log}{LogDispatch}{File}{FileLevels} = {
error => 'notice:emergency',
};

# **PERL EXPERT DISPLAY_IF {Log}{LogDispatch}{File}{Enabled}**
# **PERL EXPERT DISPLAY_IF="{Log}{LogDispatch}{File}{Enabled}"**
# Array of fields to be joined together to build the log record. The default value will generate log records compatible with the default Foswiki loggers
# Each entry consists of a list, first the delimiter used to build the records, and then each logger field to be included.
# if an entry for the log level being written is not found, then the <code>DEFAULT</code> layout will be used.
Expand All @@ -111,15 +111,15 @@ $Foswiki::cfg{Log}{LogDispatch}{File}{Layout} = {
# written to STDERR.
$Foswiki::cfg{Log}{LogDispatch}{Screen}{Enabled} = $TRUE;

# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF {Log}{LogDispatch}{Screen}{Enabled}**
# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF="{Log}{LogDispatch}{Screen}{Enabled}"**
# Choose the minimum log level logged to STDERR.
$Foswiki::cfg{Log}{LogDispatch}{Screen}{MinLevel} = 'error';

# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF {Log}{LogDispatch}{Screen}{Enabled}**
# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF="{Log}{LogDispatch}{Screen}{Enabled}"**
# Choose the maximum log level logged to STDERR.
$Foswiki::cfg{Log}{LogDispatch}{Screen}{MaxLevel} = 'emergency';

# **PERL EXPERT DISPLAY_IF {Log}{LogDispatch}{Screen}{Enabled}**
# **PERL EXPERT DISPLAY_IF="{Log}{LogDispatch}{Screen}{Enabled}"**
# Array of fields to be joined together to build the log record. The default value will generate log records compatible with the default Foswiki loggers
# Each entry consists of a list, first the delimiter used to build the records, and then each logger field to be included.
# if an entry for the log level being written is not found, then the <code>DEFAULT</code> layout will be used.
Expand All @@ -135,23 +135,23 @@ $Foswiki::cfg{Log}{LogDispatch}{Screen}{Layout} = {
# to log messages to the system log.
$Foswiki::cfg{Log}{LogDispatch}{Syslog}{Enabled} = $FALSE;

# **SELECT auth,authpriv,cron,daemon,kern,local0,local1,local2,local3,local4,local5,local6,local7,mail,news,syslog,user,uucp DISPLAY_IF {Log}{LogDispatch}{Syslog}{Enabled}**
# **SELECT auth,authpriv,cron,daemon,kern,local0,local1,local2,local3,local4,local5,local6,local7,mail,news,syslog,user,uucp DISPLAY_IF="{Log}{LogDispatch}{Syslog}{Enabled}"**
# Choose the facility used by the Syslog logger
$Foswiki::cfg{Log}{LogDispatch}{Syslog}{Facility} = 'user';

# **STRING 20 DISPLAY_IF {Log}{LogDispatch}{Syslog}{Enabled}**
# **STRING 20 DISPLAY_IF="{Log}{LogDispatch}{Syslog}{Enabled}"**
# Choose an identifier to prepend to each log record
$Foswiki::cfg{Log}{LogDispatch}{Syslog}{Identifier} = 'Foswiki';

# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF {Log}{LogDispatch}{Syslog}{Enabled}**
# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF="{Log}{LogDispatch}{Syslog}{Enabled}"**
# Choose the minimum log level logged to syslog.
$Foswiki::cfg{Log}{LogDispatch}{Syslog}{MinLevel} = 'warning';

# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF {Log}{LogDispatch}{Syslog}{Enabled}**
# **SELECT debug,info,notice,warning,error,critical,alert,emergency DISPLAY_IF="{Log}{LogDispatch}{Syslog}{Enabled}"**
# Choose the maximum log level logged to syslog.
$Foswiki::cfg{Log}{LogDispatch}{Syslog}{MaxLevel} = 'emergency';

# **PERL EXPERT DISPLAY_IF {Log}{LogDispatch}{Syslog}{Enabled}**
# **PERL EXPERT DISPLAY_IF="{Log}{LogDispatch}{Syslog}{Enabled}"**
# Array of fields to be joined together to build the log record. The default value will generate log records compatible with the default Foswiki loggers
# Each entry consists of a list, first the delimiter used to build the records, and then each logger field to be included.
# if an entry for the log level being written is not found, then the <code>DEFAULT</code> layout will be used.
Expand All @@ -162,7 +162,7 @@ $Foswiki::cfg{Log}{LogDispatch}{Syslog}{Layout} = {
DEFAULT => [' | ', [' ', 'timestamp', 'level'], [' ', 'caller', 'extra'] ],
};

# **BOOLGROUP EXPERT ndelay,noeol,nofatal,nonul,nowait,perror,pid DISPLAY_IF {Log}{LogDispatch}{Syslog}{Enabled}**
# **BOOLGROUP EXPERT ndelay,noeol,nofatal,nonul,nowait,perror,pid DISPLAY_IF="{Log}{LogDispatch}{Syslog}{Enabled}"**
# Specify log options to Sys::Syslog. See the documentation for openlog and
# http://perldoc.perl.org/Sys/Syslog.html for details. Recommended options are:
# <code>nofatal</code> - Logger should not die if syslog is unavailable, and <code>pid</code> - Include the process ID in the log message.
Expand Down

0 comments on commit db6526a

Please sign in to comment.