iExecBlockchainComputing / iexec-worker

iExec worker
https://docs.iex.ec/
Apache License 2.0
31 stars 9 forks source link

iexec_developer_logger: true does not trigger logger #364

Open PierreJeanjacquot opened 3 years ago

PierreJeanjacquot commented 3 years ago

Issue :

setting request param "iexec_developer_logger": true does not trigger debug logger

To reproduce:

iexec app run 0x18De0518FEa922D376596b1Ad2a1f62F3981BE35 --params "{\"iexec_tee_post_compute_fingerprint\":\"76bfdee97e692b729e989694f3a566cf0e1de95fc456ff5ee88c75b1cb865e33|1eb627c1c94bbca03178b099b13fb4d1|13076027fc67accba753a3ed2edf03227dfd013b450d68833a5589ec44132100\",\"iexec_tee_post_compute_image\":\"iexechub/tee-worker-post-compute:1.0.0\",\"iexec_developer_logger\":true,\"iexec_result_storage_provider\":\"ipfs\",\"iexec_result_storage_proxy\":\"https://v5.result.viviani.iex.ec\"}" --chain viviani

core api output: https://core.dev-pool.viviani.iex.ec/tasks/0xfa7666d9f7d091ba5fd0290181241ee6e8c0f78ec6bc3d2553e14dd90ce43fc2

PierreJeanjacquot commented 3 years ago

looks like stdout is present at: https://core.dev-pool.viviani.iex.ec/tasks/0xfa7666d9f7d091ba5fd0290181241ee6e8c0f78ec6bc3d2553e14dd90ce43fc2/stdout

zguesmi commented 3 years ago

Thank you for submitting this issue @PierreJeanjacquot! Indeed the second URL is the one to use when fetching a task's stdout. From our side, we will look into possible ways to enhance the task's feedback.