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

In my module i have used openerp logging functionality and write the logger statement in an individual file. First time logger statements writes properly in my file and second time i do the same process but now logger write the statements 2 times.

Eg. First time i am running my process

2013-11-22 11:16:02,971: INFO ? supplier_import - Supplier_name - 20131122: --------- New Product Insertion Starts -----

and after has done this process, again i do the same, but

2013-11-22 11:16:02,971: INFO ? supplier_import - Supplier_name - 20131122: --------- New Product Insertion Starts ----- 2013-11-22 11:16:02,971: INFO ? supplier_import - Supplier_name - 20131122: --------- New Product Insertion Starts -----

anybody can help me to fix the issue. is it because of my code?

Note : But second process has done after the server restart, it writes single time only.

Ả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
4038
2
thg 7 16
7694
1
thg 1 25
57315
0
thg 3 15
4934
1
thg 8 22
3677