Commit 7f9ab15a authored by Vincent Pelletier's avatar Vincent Pelletier

Disable some more logs.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45567 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c2b23c4
master ERP5Type_no_immediate_reindexation allow_login_change allow_login_change_differentiate_id_and_login allow_login_change_wip arnau arnau-kns arnau-kns-without-property-mapping arnau-merge arnau-poc auto_extend_select_list autoflake backup_erp5_workflow bk_erp5ish_actions_tool bk_sqlcatalog boc-interaction-drop cache catalog_fulltext catalog_fulltext_old cedric cedriclen cedriclen-eos cert certificate_authority cherry-pick-4a8e045d ckeditor_update cleanJSByJSLint clean_up_upgrader cmfactivity compact_title_no_reference credential_update_action datetimefield deferred_listbox douglas_forum dream_distributor drop-legacy-simulation echarts_with_event echarts_wrapper eos-dev erp5-component erp5-data-notebook erp5-doc erp5-forum erp5-preference erp5-release erp5-slapos-upgrade erp5-util-testing erp5-vifib erp5-vifib-cleanup erp5_calendar erp5_free_subscription erp5_notebook erp5_notebook_remove erp5_officejs_fixing erp5_tutorial_backup erp5_workflow erp5jsaccesspage fix/accounting_period_constraint_vs_acquired_node fix/change_state_priority fix/login_validate_check_consistency fix_system_processes_ownership for_private_testrunner_1 for_testrunner_1 for_testrunner_2 formbox gabriel gabriel-fix-rounding-in-accounting-generation gabriel-fix-rounding-in-accounting-generation2 gadget-json-value http_cache_fix import_zip_package improve_default_caching_policy_manager interaction-drop isDeletable item_tracking_graph_editor ivan jerome-bt-reference-doc jerome-test jerome_events jerome_graph_editor_renderjs jerome_new_style_solve_divergence jerome_promise_in_tests jerome_user_preference_time_zone jio jm/form-action-guard joblib-activity kns kns-kr lazy_simulation_causality lignan lingnan listbox-generator mame mame-bt5-cleanup mame-erp5_project-cleanup mame-naming-convention mame-naming-convention-list_method mame-test-stock-indexation mame-work mame2 master-erp5-test-result-scalability master-erp5-test-result-scalability-rebase master-test-fix-additionalbt5path master_calendar_wip_patches master_calendar_wip_patches_extend_security master_no_guard_on_workflow_transition master_no_guard_on_workflow_transition_plus_calendar_wip_patchs master_test merge_xhtml_jquery mmariani-inventory mrp new-render-presentation new_notebook_sub nexedi-erp5-jp no_longer_simulated_state notebook_submodule notebook_submodule_backup officejs officejs_clean officejs_mixing_echarts pere portal_callables portal_solver_process_security_configuration presentation pyodide pyodide_backup pyodide_bk pyodide_external pyodide_submodule pyodide_submodule_normal pyodide_webworker rapid_wechat rebased_mrp reindex reindex_calendar_after_change_calendar_exception resursive_clone romain-fulltext scalability-master2 scalability-master2-rebase scalability-rebase shop-box simulation slapos_master slapos_tutorial sms_more_than_140_characters strict_catalog submodule support_request support_request_1 support_request_2 support_request_3 support_request_4 support_request_update syncml test_page testnode_software_link timezones tristan tristan-merge tristan-performance ttr ttrm upgradeSite view-aggregated-amounts vifib-fixup vivekpab_erp5webrenderjs_layoutconfig vivekpab_jabberclient vivekpab_renderjs_interfaces wechat_test wenjie wenjie_branch xiaowu_newui yryr yryr-components-cp yryr-inventory-cache yryr-test yryr-with-components yusei erp5.util-0.4.46 erp5.util-0.4.44 erp5.util-0.4.43 erp5.util-0.4.41 erp5.util-0.4.40 erp5.util-0.4.37 erp5.util-0.4.1 erp5.util-0.4 erp5.util-0.3 erp5.util-0.2 erp5.util-0.1
No related merge requests found
...@@ -68,8 +68,8 @@ if dictionaries:\n ...@@ -68,8 +68,8 @@ if dictionaries:\n
else:\n else:\n
from Products.ERP5Type.Document import newTempBase\n from Products.ERP5Type.Document import newTempBase\n
\n \n
from DateTime import DateTime\n #from DateTime import DateTime\n
begin = DateTime()\n #begin = DateTime()\n
\n \n
if from_date is not None:\n if from_date is not None:\n
if from_date == at_date:\n if from_date == at_date:\n
...@@ -186,8 +186,8 @@ if column_names == 1:\n ...@@ -186,8 +186,8 @@ if column_names == 1:\n
column_list.append((\'general_total_price\', \'General TotalPrice\'))\n column_list.append((\'general_total_price\', \'General TotalPrice\'))\n
return column_list\n return column_list\n
\n \n
end = DateTime()\n #end = DateTime()\n
context.log(\'before sql time:\',(end-begin)*86400)\n #context.log(\'before sql time:\',(end-begin)*86400)\n
#context.log(\'node_category\',vault)\n #context.log(\'node_category\',vault)\n
#context.log(\'inventory_kw\',inventory_kw)\n #context.log(\'inventory_kw\',inventory_kw)\n
display_simulation_state = 0\n display_simulation_state = 0\n
...@@ -207,8 +207,8 @@ else: \n ...@@ -207,8 +207,8 @@ else: \n
# , ignore_variation=0,src__=1\n # , ignore_variation=0,src__=1\n
# ,**inventory_kw\n # ,**inventory_kw\n
# ))\n # ))\n
end = DateTime()\n #end = DateTime()\n
context.log(\'sql request time:\',(end-begin)*86400)\n #context.log(\'sql request time:\',(end-begin)*86400)\n
\n \n
if summarise:\n if summarise:\n
total_quantity = 0\n total_quantity = 0\n
...@@ -265,8 +265,8 @@ for vault_inventory in vault_inventory_list:\n ...@@ -265,8 +265,8 @@ for vault_inventory in vault_inventory_list:\n
resource_dict[resource] = 1\n resource_dict[resource] = 1\n
\n \n
\n \n
end = DateTime()\n #end = DateTime()\n
context.log(\'after first big loop:\',(end-begin)*86400)\n #context.log(\'after first big loop:\',(end-begin)*86400)\n
\n \n
#context.log(\'resource_dict\',resource_dict)\n #context.log(\'resource_dict\',resource_dict)\n
#context.log(\'vault_inventory_dict\',vault_inventory_dict)\n #context.log(\'vault_inventory_dict\',vault_inventory_dict)\n
...@@ -279,8 +279,8 @@ if vault_report_type == \'history\':\n ...@@ -279,8 +279,8 @@ if vault_report_type == \'history\':\n
for line in catalog_result_list:\n for line in catalog_result_list:\n
cache_dict[\'cache_explanation\'][line.uid] = line\n cache_dict[\'cache_explanation\'][line.uid] = line\n
\n \n
end = DateTime()\n #end = DateTime()\n
context.log(\'after getting data into catalog:\',(end-begin)*86400)\n #context.log(\'after getting data into catalog:\',(end-begin)*86400)\n
i = 0\n i = 0\n
\n \n
append = total_inventory_list.append\n append = total_inventory_list.append\n
...@@ -338,8 +338,8 @@ for resource in resource_dict.keys():\n ...@@ -338,8 +338,8 @@ for resource in resource_dict.keys():\n
append(newTempBase(context, "new_%03i" % i, **tmp_dict))\n append(newTempBase(context, "new_%03i" % i, **tmp_dict))\n
i += 1\n i += 1\n
\n \n
end = DateTime()\n #end = DateTime()\n
context.log(\'after second big loop:\',(end-begin)*86400)\n #context.log(\'after second big loop:\',(end-begin)*86400)\n
\n \n
def sort_base_price(a,b):\n def sort_base_price(a,b):\n
return -cmp(a.base_price,b.base_price)\n return -cmp(a.base_price,b.base_price)\n
......
572 573
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment