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

unsupport log format: console #23344

Closed
wan1y opened this issue Mar 16, 2021 · 3 comments
Closed

unsupport log format: console #23344

wan1y opened this issue Mar 16, 2021 · 3 comments
Labels
severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@wan1y
Copy link

wan1y commented Mar 16, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

[log]
format = "console"
tidb-server --store=tikv --path='127.0.0.1:2379' --log-file=tidb.log --config /config.toml

2. What did you expect to see? (Required)

Launch TiDB successfully.

3. What did you see instead (Required)

panic: unsupport log format: console

4. What is your TiDB version? (Required)

v4.0.11

@wan1y wan1y added the type/bug The issue is confirmed as a bug. label Mar 16, 2021
@XuHuaiyu XuHuaiyu added sig/sql-infra SIG: SQL Infra and removed sig/execution SIG execution labels Mar 19, 2021
@seiya-annie
Copy link

seiya-annie commented Aug 11, 2021

please update the optional value in config.toml.example in 4.0 and 5.0 branch, console should be removed.

Log format, one of json, text, console.
format = "text"

@bb7133
Copy link
Member

bb7133 commented Aug 23, 2021

@seiya-annie Close this issue since it has been fixed by #23534.

@bb7133 bb7133 closed this as completed Aug 23, 2021
@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

6 participants