https://nebula-graph.io logo
#nebula-users
Title
# nebula-users
s

Sandeep

02/16/2023, 10:40 AM
Hi. I've enabled the "redirect_stdout" flag in the conf file. Although, I've enabled it, corresponding logs are not being written to the stdout.log file, while logs are being written to the stderr.log file correctly. Anyone facing similar issue?
w

wey

02/17/2023, 8:48 AM
redirect_stdout
means to “redirects the`stdout` and
stderr
to separate output files.“, and actually it’s by default
true
, I guess you thought it means to logging to be sent to STDOUT instead of file? https://docs.nebula-graph.io/3.3.0/5.configurations-and-logs/1.configurations/4.storage-config/
s

Sandeep

02/21/2023, 7:46 PM
Okay but the problem is, I've configured the following flag value stderrthreshold=1 in my nebula-metad.conf file. This indicates that the INFO logs are to be re-directed to the stdout logs while the logs of higher level (WARNING, ERROR) are to be re-directed to the stderr file right? In my case, the stdout file is empty and INFO logs are not written to stdout logs. @wey Can you help me in this regard?