Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: mark old logging as deprecated #6082

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

osalyk
Copy link
Contributor

@osalyk osalyk commented May 7, 2024

This change is Reviewable

@osalyk osalyk added sprint goal This pull request is part of the ongoing sprint no changelog Add to skip the changelog check on your pull request labels May 7, 2024
Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

Reviewed all commit messages.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @osalyk)

a discussion (no related file):
#6083 has landed. Please rebase and continue as discussed when ready. :-)


Copy link
Contributor Author

@osalyk osalyk left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @janekmi)

a discussion (no related file):

Previously, janekmi (Jan Michalski) wrote…

#6083 has landed. Please rebase and continue as discussed when ready. :-)

Done.


Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 3 files at r2, all commit messages.
Reviewable status: 1 of 3 files reviewed, all discussions resolved


doc/libpmem/libpmem.7.md line 248 at r2 (raw file):

threshold value. Please see **pmem_log_set_threshold**(3) for details.

# DEBBUGING #

@grom72 😆

Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 3 files at r2.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @osalyk)


doc/libpmem/libpmem.7.md line 24 at r2 (raw file):

[ERROR HANDLING](#error-handling)<br />
[DEBUGGING](#debugging)<br />
[LOGGING](#logging)<br />

Assuming we agree to keep both of them in a single line. Please see the comment below.

Suggestion:

[LOGGING (DEPRECATED)](#logging-deprecated)<br />

doc/libpmem/libpmem.7.md line 264 at r2 (raw file):

# LOGGING #
**(DEPRECATED)**
LOGGING
       (DEPRECATED)

       Debugging output is controlled using the following environment variables.  These variables have  no  effect

It looks a little bit odd in the output. Having no new line between the two you end up basically with a two-line header. I think it would look better as a single line:

LOGGING (DEPRECATED)
       Debugging output is controlled using the following environment variables.  These variables have  no  effect

Note: The bold is unnecessary since headers are already in bold.

Suggestion:

# LOGGING (DEPRECATED) #

doc/libpmemobj/libpmemobj.7.md line 23 at r2 (raw file):

[ERROR HANDLING](#error-handling)<br />
[DEBUGGING](#debugging)<br />
[LOGGING](#logging)<br />

.


doc/libpmemobj/libpmemobj.7.md line 203 at r2 (raw file):

# LOGGING #
**(DEPRECATED)**

Suggestion:

# LOGGING (DEPRECATED) #

Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @osalyk)

Copy link
Contributor Author

@osalyk osalyk left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 3 files reviewed, 4 unresolved discussions (waiting on @janekmi)


doc/libpmem/libpmem.7.md line 24 at r2 (raw file):

Previously, janekmi (Jan Michalski) wrote…

Assuming we agree to keep both of them in a single line. Please see the comment below.

Done.


doc/libpmem/libpmem.7.md line 264 at r2 (raw file):

Previously, janekmi (Jan Michalski) wrote…
LOGGING
       (DEPRECATED)

       Debugging output is controlled using the following environment variables.  These variables have  no  effect

It looks a little bit odd in the output. Having no new line between the two you end up basically with a two-line header. I think it would look better as a single line:

LOGGING (DEPRECATED)
       Debugging output is controlled using the following environment variables.  These variables have  no  effect

Note: The bold is unnecessary since headers are already in bold.

Done.


doc/libpmemobj/libpmemobj.7.md line 23 at r2 (raw file):

Previously, janekmi (Jan Michalski) wrote…

.

Done.


doc/libpmemobj/libpmemobj.7.md line 203 at r2 (raw file):

# LOGGING #
**(DEPRECATED)**

Done.

Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

@janekmi janekmi merged commit ff78d98 into pmem:master May 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Add to skip the changelog check on your pull request sprint goal This pull request is part of the ongoing sprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants