Fix issues in wlog man page

* fix spelling errors
* move man page from section 1 to section 7
* fix the man page header to match the actual section
* adapt the packages for wlog.7

Fixes #3632
This commit is contained in:
Bernhard Miklautz 2016-12-01 11:10:58 +01:00
parent e60d0d529a
commit c82cd6cb57
5 changed files with 18 additions and 17 deletions

View File

@ -6,7 +6,7 @@
<term>wlog environment variable</term>
<listitem>
<para>xfreerdp uses wLog as its log facility, you can refer to the
corresponding man page (wlog(1)) for more informations. Arguments passed
corresponding man page (wlog(7)) for more informations. Arguments passed
via the <replaceable>/log-level</replaceable> or <replaceable>/log-filters</replaceable>
have precedence over the environment variables.</para>
</listitem>

View File

@ -1,4 +1,4 @@
opt/freerdp-nightly/lib/*.so.*
opt/freerdp-nightly/bin
opt/freerdp-nightly/share/man/man1/xfreerdp.1*
opt/freerdp-nightly/share/man/man1/wlog.1*
opt/freerdp-nightly/share/man/man7/wlog.7*

View File

@ -135,10 +135,11 @@ export NO_BRP_CHECK_RPATH true
%dir %{INSTALL_PREFIX}/share/
%dir %{INSTALL_PREFIX}/share/man/
%dir %{INSTALL_PREFIX}/share/man/man1
%dir %{INSTALL_PREFIX}/share/man/man7
%{INSTALL_PREFIX}/%{_lib}/*.so.*
%{INSTALL_PREFIX}/bin/
%{INSTALL_PREFIX}/share/man/man1/xfreerdp.1*
%{INSTALL_PREFIX}/share/man/man1/wlog.1*
%{INSTALL_PREFIX}/share/man/man7/wlog.7*
%files devel
%defattr(-,root,root)

View File

@ -176,9 +176,9 @@ endif()
if(WITH_MANPAGES)
if(OPENBSD)
install(FILES wlog.1 DESTINATION man/man1)
install(FILES wlog.7 DESTINATION man/man7)
else()
install(FILES wlog.1 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
install(FILES wlog.7 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man7)
endif()
endif(WITH_MANPAGES)

View File

@ -1,8 +1,8 @@
.\" Written by David Fort (contact@hardening-consulting.com)
.\" Process this file with
.\" groff -man -Tascii foo.1
.\" groff -man -Tascii wlog.7
.\"
.TH wLog 13 "June 2016" Version "1.0"
.TH wLog 7 "June 2016" Version "2.0"
.SH NAME
wLog \- WinPR logging facility
@ -53,7 +53,7 @@ print everything including packets dumps
.IP DEBUG
debug messages
.IP INFO
general informations
general information
.IP WARN
warnings
.IP ERROR
@ -113,7 +113,7 @@ the level to output messages for
.IP WLOG_FILTER
sets a filter for WLog messages. Only the filtered messages are
printed. The format of the filter is a serie of \<logger name\>:\<level\> separated by
printed. The format of the filter is a series of \<logger name\>:\<level\> separated by
comas
example: WLOG_FILTER=core.channel:DEBUG,dummy:TRACE