I want to set some data in the Log field in a transaction using Ethereum, i used in smart contract event method but i got always empty logs could anyone help me please? Thank you
A transaction's receipt is only generated if the transaction ends in success. If the transaction ran out of gas or threw an exception, the receipt will not be generated. The first thing I would check is that the transaction ended without error.
If the transaction ended successfully, then the next most likely cause of no log would be that you're querying the node incorrectly.
As mentioned, in either case, example code would help come up with a better answer.