Did you try to pass a log4j configuration using -D option on the command line?

Ed Coleman

From: Ligade, Shailesh [USA] <ligade_shail...@bah.com>
Sent: Friday, January 21, 2022 8:19 AM
To: user@accumulo.apache.org
Subject: issue with OS user using shell

Heo,

When a regular OS user use shell command, looks like that OS user needs access 
to accumulo log directory. Othewise it throws FileNotFound exception for the 
log file (tserver/monitor/master/gc/tracer - all the log files)

if i user OS root user or OS accumulo user (user who runs accumulo) there is no 
issue with shell command.

I obviously don't want to open log directory for all OS users or turn off shell 
logging. Is there a way around it? I didn't see shell command option for 
accepting any log4j.conf so that just for shell I can use a different file..


Thanks

-S

Reply via email to