Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
56892 Lượt xem

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

 

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 18
3922
2
thg 7 16
7557
0
thg 3 15
4736
0
thg 3 15
3676
1
thg 8 22
3555