Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting initial log level to WARN, skips lots of initial log messages set at INFO level #2789

Open
adizaimi opened this issue Apr 10, 2021 · 0 comments

Comments

@adizaimi
Copy link

The issue is that all of these messages are printed at INFO level and the default loglvl level = LOGMSG_WARN;. There is no chance to set the log level to INFO or lower (in the lrl) and be able to see the following initial messages -- the lrl options are parsed /too late/ for the following messages:

ulimit for data already set
adjust_ulimits: set ulimit for no. fds to 1048576
setting i/o alarm threshold to 100ms
__berkdb_write_alarm_ms = 100
__berkdb_read_alarm_ms = 100
__berkdb_fsync_alarm_ms = 100
thd_init: thread subsystem initialized
Plugin 'logdelete' installed.
Plugin 'logdelete' installed.
Plugin 'logdelete' installed.
Plugin 'newsql' installed.
Plugin 'remsql' installed.
Plugin 'remtran' installed.
Plugin 'alias' installed.
Plugin 'repopnewlrl' installed.
Plugin 'queuelua' installed.
Plugin 'queuedynlua' installed.
Plugin 'sockbplog' installed.
machine_class_default(titani.home) open rc -1 cdb2_get_dbhosts: no default_type entry in comdb2db config.!
registered resource lrl -> /dev/shm/adidb/adidb.lrl
Schema module init ok
Set default log level to DEBUG

The only way to see them is to set initial log level to INFO.
Maybe (some of) those messages should be raised to WARN or the initial log level should be set to INFO.
Or things are ok with the way they are, but I'm submitting this anyway for awareness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant