Open CoderYellow opened 2 weeks ago
Is there currently a way to customize the log level for the metastore? Can this be configured within the HiveCluster CRD? Without this capability, troubleshooting becomes significantly more challenging.
Hi @CoderYellow,
we don't support configOverrides on all files, so the metastore-log4j2.properties
is not supported.
However, what you probably want to do is use the logging mechanism we have added to the platform, which allow you fine-grained control, regardless of the actual different logging implementations in all the different tools. You can find the documentation here: https://docs.stackable.tech/home/stable/concepts/logging, the specific one for Hive metastore here: https://docs.stackable.tech/home/stable/hive/usage-guide/logging
Without having tested it, your config could look something like
spec:
metastore:
config:
logging:
containers:
hive:
console:
level: DEBUG
loggers:
ROOT:
level: DEBUG
Hi @CoderYellow I see you reacted with a heart, am I correct to assume your problem is fixed? :)
below configOverrides is not working for
metastore-log4j2.properties