Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
56839 Widoki

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

 

 

Awatar
Odrzuć
Najlepsza odpowiedź

--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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 18
3900
2
lip 16
7510
0
mar 15
4698
0
mar 15
3653
1
sie 22
3522