confluentinc / confluentinc/schema-registry

Where is ${schema-registry.log.dir} defined

Open
#705 3 comments 2 reactions 0 assignees View on GitHub
bug usability
Dominant language
Java
Stars
2.5k
Forks
1.2k
Avg merge
23h 27m
Merged PRs (30d)
65

Description

On Centos 7x, CP 4.0
When I run

`$ /usr/bin/kafka-avro-console-producer \
--broker-list localhost:9092 --topic test \
--property value.schema='{"type":"record","name":"myrecord","fields":[{"name":"f1","type":"string"}]}'`

I get an exception

`java.io.FileNotFoundException: /usr/bin/../logs/schema-registry.log (Permission denied)`

/usr/logs/schema-registry.log exists and has 777 as its permissions

So, where is ${schema-registry.log.dir} defined and why do I get a permission denied even though the log file exists and has permissions to allow anyone to write?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the /usr/bin/kafka-avro-console-producer invocation and trace how its logging configuration resolves schema-registry.log.dir. Compare the reported /usr/bin/../logs/schema-registry.log path with /usr/logs/schema-registry.log and the CentOS permissions. Done means identifying where the setting is defined and explaining the permission-denied cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.