On 00:27 16 Dec 2002, U/hyZW4gTmVpZ2FhcmQ= <[EMAIL PROTECTED]> wrote:
| CS> | Adding a "-" in the syslog.conf? Huh where do you find information on
| CS> | this?? What is this, and what does it do?
| 
| CS> "man syslog.conf" should say.
| 
| Yes I found it now (somehow I missed it before), but should I have a
| space between the "-" and the rest of the line or not? I'm asking just
| because I don't know if I would break anything if I just tried, and I
| also would not know if it worked (don't know how to test if it
| helped).

>From the manual entry:

       Every rule consists of two fields, a selector field and an
       action  field.   These  two fields are separated by one or
       more spaces or tabs.  The selector field specifies a  pat-
       tern  of facilities and priorities belonging to the speci-
       fied action.
       [...]
    SELECTORS
       The  selector  field itself again consists of two parts, a
       facility and a priority, separated by  a  period  (``.'').
       [...]
    ACTIONS
       The  action  field  of  a rule describes the abstract term
       ``logfile''.  [...]
     Regular File
       Typically messages are logged to real files.  The file has
       to be specified with full pathname, beginning with a slash
       ``/''.
       You  may  prefix  each  entry with the minus ``-'' sign to
       omit syncing the file after every logging. [...]

So I would say that the only place you can have whitespace is between the
selector and the action, and therefore the "-" prefix may not have whitepsace
between it and the log file name.

Cheers,
--
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

A billion here, a billion there, pretty soon you're talking about some real
money.  - Senator Everett Dirksen



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to