Skip to content

--log config #67061

Answered by knz
carr123 asked this question in Q&A
Jun 30, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

The deprecation notice for --log-dir literally provides a suggestion for a replacement...

$  ./cockroach start-single-node --log-dir=foo
Flag --log-dir has been deprecated, use --log instead to specify 'file-defaults: {dir: ...}'
...

Just do what it says: --log-dir='file-defaults: {dir: ...}'

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@carr123
Comment options

@knz
Comment options

@carr123
Comment options

Answer selected by knz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants