跳至內容
選單
此問題已被標幟
3729 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
2月 18
3999
2
7月 16
7647
1
1月 25
57126
0
3月 15
4835
1
8月 22
3597