'Why TDengine database second service not write log into logDir?
Why TDengine database second service not write log into logDir?
I use taosd -c /work/taos63000/config/taos.cfg to start it
but it didn't write log into logDir of /work/taos63000/config/taos.cfg
May I know why ?
Solution 1:[1]
- Frist, check the
logDir
configuration in yourtaos.cfg
. - Second, the log will be empty if you login and do nothing. There're two configuration options will affect this:
asyncLog
: TDengine server or client default write log asynchronously, set it to0
if you want to see the log immeidiately.debugFlag
: by default, the log level is error only, see more detail logs by set it to debg level:135
or trace level143
.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | zitsen |