Skip to content

Conversation

@zsoltgyulai94
Copy link
Contributor

Aligning man pages to get them in a "porting-ready" state.

Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
Copy link
Collaborator

@HofiOne HofiOne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see once more the format of the 005_syslog-ng_manual.md as a reference how the pages should be formatted now.

If you open the currently generated pages side by side
e.g.

https://zsoltgyulai94.github.io/syslog-ng.github.io/admin-guide/190_The_syslog-ng_manual_pages/001_dqtool_manual

and

https://zsoltgyulai94.github.io/syslog-ng.github.io/admin-guide/190_The_syslog-ng_manual_pages/005_syslog-ng_manual

You can see the resulted differences of the different identintations, quoting, etc.

Screenshot 2025-11-03 at 17 41 20

You also can use the markdown preview to see and compare the results before the html pages are generated

`--dgram` or `-D`

Use datagram socket (UDP or unix-dgram) to send the messages to the
target. Requires the \--inet option as well.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esacping is not needed here, but usage of the `` pair might be used instead, like in the other cases


```bash
./dqtool cat ../var/syslog-ng-00000.qf
/opt/syslog-ng/bin/dqtool/dqtool cat ../var/syslog-ng-00000.qf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all the examples on all the other man pages are using the binary names without path
e.g.

pdbtool match -p patterndb.xml -P sshd -M "Accepted publickey for myuser from 127.0.0.1 port 59357 ssh6"

i suggest using the same method e.g.

dqtool cat ../var/syslog-ng-00000.qf

i'd prefer the pure binary name, without any path prefix, but it is up to you, just please make this consistent


```bash
bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist /tmp/syslog-ng-00000.rqf
/opt/syslog-ng/bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist /tmp/syslog-ng-00000.rqf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like above


```bash
bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist /tmp/syslog-ng-00000.rqf /tmp/syslog-ng-00001.rqf
/opt/syslog-ng/bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist /tmp/syslog-ng-00000.rqf /tmp/syslog-ng-00001.rqf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like above


```bash
bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist --all
/opt/syslog-ng/bin/dqtool relocate --new_path /tmp/dq --persist var/syslog-ng.persist --all
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like above

## The cat command
## THE CAT COMMAND

```bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use the more generic shell markdown block hint here

Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
@zsoltgyulai94 zsoltgyulai94 requested a review from HofiOne November 5, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants