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

Document environment variables #120

Merged
merged 4 commits into from
Aug 19, 2021
Merged

Document environment variables #120

merged 4 commits into from
Aug 19, 2021

Conversation

Stebalien
Copy link
Member

Also updates the badges and fixes some indentation.

Copy link
Member

@frrist frrist left a comment

Choose a reason for hiding this comment

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

awesome


`IPFS_LOGGING_FMT` is a deprecated alias for this environment variable.

#### `GOLOG_LOG_LABELS`
Copy link
Member

Choose a reason for hiding this comment

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

Nice! This is pretty neat.

README.md Outdated
Comment on lines 46 to 47
```

Copy link
Member

Choose a reason for hiding this comment

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

Could also add a note about regex:

	if err := logging.SetLogLevelRegex("*libp2p*", "error"); err != nil {
		panic(err)
	}

@Stebalien Stebalien merged commit 73fb407 into master Aug 19, 2021
@Stebalien Stebalien deleted the doc/update-readme branch August 19, 2021 19:44
github-actions bot referenced this pull request in kairos-io/provider-kairos Apr 19, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuMzAxLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot referenced this pull request in kairos-io/provider-kairos May 1, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot referenced this pull request in kairos-io/provider-kairos Jul 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot referenced this pull request in kairos-io/provider-kairos Jul 12, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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