Dear all,

Sorry for confusing you. I made a big mistake.
In the following reports, '--log-prefix' is the mistake for '--log-priority'.

> There is mistake about mentioning impropriety option --log-prefix
> for LOG target of iptables.

This is not correct, I will repeat what I said for clarification.

There is mistake about mentioning impropriety option "--log-priority"
for LOG target of iptables.

> For all documents, the option '--log-prefix' are mentioned 2 times.

This is also not correct, I will repeat what I said for clarification.

For all documents, the option "--log-priority" are mentioned 2 times.

> The one is for udevadm in 09_unix-services.xml, which is ok.
> The other is for iptables in 14_security.xml, which is mistake.
>
> I pushed the fix to master branch of the git source code repository
> onto my temporally repository [1], and attached the fix as a patch.
> Please find either of them.
>
> [1] 
> http://anonscm.debian.org/cgit/debian-handbook/users/ayanokouzi-guest.git/commit/?h=master_fix_undefined_option&id=49e331d24ef181370c4c18ac2cd073bd9c23d26d

This is correct.

But for avoiding mistake, I removed the commit and made another commit [1].
And I attached the commit as a patch.
Please find either the new commit or a patch.

[1] 
http://anonscm.debian.org/cgit/debian-handbook/users/ayanokouzi-guest.git/commit/?h=master_fix_undefined_option&id=8797be200d2396e40f10859ecde4efe2c2458c07

The following parts are correct.

> I checked it by following commands.
>
> $ git grep -C 3 -e 'log-priority' en-US/*
> en-US/09_unix-services.xml-     <filename>/var/log/daemon.log</filename>. But 
> it is not very
> en-US/09_unix-services.xml-     verbose by default, and it's usually not 
> enough to understand
> en-US/09_unix-services.xml-     what's happening. The <command>udevadm control
> en-US/09_unix-services.xml:     --log-priority=info</command> command 
> increases the verbosity level
> en-US/09_unix-services.xml-     and solves this problem. <command>udevadm 
> control
> en-US/09_unix-services.xml:     --log-priority=err</command> returns to the 
> default verbosity
> en-US/09_unix-services.xml-     level.</para>
> en-US/09_unix-services.xml-      </sidebar>
> en-US/09_unix-services.xml-    </section>
> --
> en-US/14_security.xml-  instance, has the following options:</para>
> en-US/14_security.xml-        <itemizedlist>
> en-US/14_security.xml-          <listitem>
> en-US/14_security.xml:      <para><literal>--log-priority</literal>, with 
> default value
> en-US/14_security.xml-      <literal>warning</literal>, indicates the
> en-US/14_security.xml-      <command>syslog</command> message priority;</para>
> en-US/14_security.xml-          </listitem>
>
> # COLUMNS=80 man 8 udevadm | grep -A4 -e '--log-priority'
>        -l, --log-priority=value
>            Set the internal log level of systemd-udevd. Valid values are the
>            numerical syslog priorities or their textual representations: err,
>            info and debug.
>
> # COLUMNS=80 man 8 iptables-extensions | grep -A4 -e '--log-level'
>        --log-level level
>               Level  of  logging,  which can be (system-specific) numeric or a
>               mnemonic.  Possible values are (in decreasing  order  of  prior-
>               ity): emerg, alert, crit, error, warning, notice, info or debug.

Sincerely yours,
Ryuunosuke Ayanokouzi
--
AYANOKOUZI, Ryuunosuke <i38w...@yahoo.co.jp>

Attachment: 0001-fix-incorrect-option-log-priority-for-LOG-target-of-.patch
Description: Binary data

Attachment: pgpj4rSSU2CHo.pgp
Description: OpenPGP Digital Signature

Reply via email to