Skip to content

Conversation

@jimpo
Copy link
Contributor

@jimpo jimpo commented Apr 18, 2018

Split out first commit from #12954 to reduce amount of rebasing necessary.

This introduces a cyclic dependency between logging and util that should be cleaned up in a future PR.

@maflcko
Copy link
Member

maflcko commented Apr 18, 2018

utACK b77b6e2 (Lines are kept in the same order, which makes it easier to verify moveonly-ness)

@Empact
Copy link
Contributor

Empact commented Apr 18, 2018

utACK b77b6e2 also confirmed that the lines are repeated faithfully

@ajtowns
Copy link
Contributor

ajtowns commented Apr 20, 2018

utACK b77b6e2

Comparison with git diff HEAD^ --color-moved=zebra looks good. The cyclic dependency is logging.cpp to util.h to logging.h and there's a plan for breaking that cycle in #12954. Agree that this would be good to merge soon, since it's essentially a blocker for anything touching logging code.

@sipa
Copy link
Member

sipa commented Apr 20, 2018

utACK b77b6e2. Verified move-only.

@sipa sipa merged commit b77b6e2 into bitcoin:master Apr 20, 2018
sipa added a commit that referenced this pull request Apr 20, 2018
…les.

b77b6e2 MOVEONLY: Move logging code from util.{h,cpp} to new files. (Jim Posen)

Pull request description:

  Split out first commit from #12954 to reduce amount of rebasing necessary.

  This introduces a cyclic dependency between `logging` and `util` that should be cleaned up in a future PR.

Tree-SHA512: 695e512f9c2f7b4ca65e367fc924358e3cb2dc531bcbb7a6f62710b2a87280b35aba7793aa272e457fcd65448abe3feb1deb3b8064ed208917ca356b0f410813
@jimpo jimpo deleted the logging-files branch April 20, 2018 06:05
Fuzzbawls added a commit to PIVX-Project/PIVX that referenced this pull request Apr 14, 2020
5c8e968 [Trivial] Document logtimemicros flag in the help (random-zebra)
4daa10a util: Store debug log file path in BCLog::Logger member. (random-zebra)
2f03e85 scripted-diff: Rename BCLog::Logger member variables. (random-zebra)
303700e util: Refactor GetLogCategory. (random-zebra)
0ae18c0 util: Encapsulate logCategories within BCLog::Logger. (random-zebra)
a2fb3fd util: Move debug file management functions into Logger. (random-zebra)
5a42d82 util: Establish global logger object. (random-zebra)
15c0da4 [Refactor] Complete boost::filesystem namespace in util (random-zebra)
81ddbf4 MOVEONLY: Move logging code from util.{h,cpp} to new files. (random-zebra)

Pull request description:

  Implemented on top of:
  - [x] #1449
  - [x] #1437
  - [x] #1439
  - [x] #1450
  - [x] #1451
  - [x] #1455

  This creates a new class BCLog::Logger to encapsulate all global logging configuration and state.

  Adapted from
  - bitcoin#13021
  - bitcoin#12954

ACKs for top commit:
  Fuzzbawls:
    ACK 5c8e968
  furszy:
    utACK 5c8e968

Tree-SHA512: 0b10a031dd7e32b48485236fbdd8249d011049e6f99e1df145b7dea4cab9e6e67e19d1bb13ff48e99eb2487a8399bbb8298fe851ad8873416fc1053aee0379bc
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 18, 2020
… new files.

b77b6e2 MOVEONLY: Move logging code from util.{h,cpp} to new files. (Jim Posen)

Pull request description:

  Split out first commit from bitcoin#12954 to reduce amount of rebasing necessary.

  This introduces a cyclic dependency between `logging` and `util` that should be cleaned up in a future PR.

Tree-SHA512: 695e512f9c2f7b4ca65e367fc924358e3cb2dc531bcbb7a6f62710b2a87280b35aba7793aa272e457fcd65448abe3feb1deb3b8064ed208917ca356b0f410813
Signed-off-by: pasta <[email protected]>

# Conflicts:
#	src/Makefile.am
#	src/util.cpp
#	src/util.h
str4d added a commit to str4d/zcash that referenced this pull request Oct 9, 2020
Based on bitcoin/bitcoin#13021 but implemented from scratch.

This introduces a cyclic dependency between `logging` and `util` that
should be cleaned up in a future PR.
zkbot added a commit to zcash/zcash that referenced this pull request Oct 9, 2020
MOVEONLY: Move logging code from util.{h,cpp} to new files

Based on bitcoin/bitcoin#13021 but implemented from scratch.

This introduces a cyclic dependency between `logging` and `util` that
should be cleaned up in a future PR.
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Jun 30, 2021
… new files.

b77b6e2 MOVEONLY: Move logging code from util.{h,cpp} to new files. (Jim Posen)

Pull request description:

  Split out first commit from bitcoin#12954 to reduce amount of rebasing necessary.

  This introduces a cyclic dependency between `logging` and `util` that should be cleaned up in a future PR.

Tree-SHA512: 695e512f9c2f7b4ca65e367fc924358e3cb2dc531bcbb7a6f62710b2a87280b35aba7793aa272e457fcd65448abe3feb1deb3b8064ed208917ca356b0f410813
Signed-off-by: pasta <[email protected]>
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants