Skip to Content
Menú
This question has been flagged
1 Respondre
56666 Vistes

I understand we can change the log level in config file but could someone explain what we will expect for each level set?

#logging. Accepted values: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer, notset

#default

log_level = info

 

 

Avatar
Descartar
Best Answer

--log-level option is deprecated option. Use --log-handler=PREFIX:LEVEL for log verbosity. Usually log level info is not enough. If you debugging something set log-handler to :DEBUG, to debug (everything), usually add more helpfull log. But of course you don't want this info in productioin mode.

For example if you want to see log from test you can run the server with the following argument.

--log_level=:TEST --update=all --dabase=your_database

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de febr. 18
3854
2
de jul. 16
7470
0
de març 15
4620
0
de març 15
3565
1
d’ag. 22
3438