rsyslog-doc icon indicating copy to clipboard operation
rsyslog-doc copied to clipboard

Create cross-reference of obsolete to advanced format replacements

Open deoren opened this issue 7 years ago • 6 comments

This came up in a recent conversation with @rgerhards. As we go about pruning the older obsolete format content from the documentation it is important that we have a cross-reference in place to guide readers coming from older configurations to the equivalent parameters in the advanced format.

In some cases this is currently handled at the bottom of module docs, but since we're pruning that content as we go we'll need to consider a common index.

We may need to create a mock-up to get the process started just so we're on the same page.

deoren avatar Dec 22 '17 08:12 deoren

related issue: #449

deoren avatar Dec 23 '17 08:12 deoren

Note to self: grep rsyslog source for eCmdHdlrGoneAway as one way of helping to identify obsolete legacy directives that are no longer supported.

deoren avatar Dec 23 '17 08:12 deoren

Note to self: grep rsyslog source for eCmdHdlrGoneAway as one way of helping to identify obsolete legacy directives that are no longer supported.

yup - that definitely works (assuming I have all done cleanly... ;)).

rgerhards avatar Dec 23 '17 10:12 rgerhards

Some notes from https://github.com/rsyslog/rsyslog-doc/issues/453#issuecomment-353718716:

@rgerhards: I still think we should remove all obsolete format references and just put them into a single old-to-new mapping page. So it'll be removed from where it originally existed. On the new (single) page, we could add them at the bottom as "removed".

For new style/script parameters that disappear, I agree to keep them on the same page.

deoren avatar Dec 23 '17 10:12 deoren

@rgerhards: yup - that definitely works (assuming I have all done cleanly... ;)).

Awesome, I was hoping that would be a good indicator to work from.

deoren avatar Dec 23 '17 10:12 deoren

Update: The work on PR #476 may resolve this in a slightly different way: mention the obsolete legacy format directives in a small table right with the coverage for the advanced format parameters.

This keeps the deprecated directive names right with the current parameters for easy reference.

deoren avatar Jan 21 '18 04:01 deoren