If you create a pickaxe for use in Adventure mode with the following:
/give @p iron_axe 1 0 {"can_destroy":{"blocks":["log"]}}
You cannont destroy Dark Oak Logs or Acacia Logs.
If you create a pickaxe for use in Adventure mode with the following:
/give @p iron_axe 1 0 {"can_destroy":{"blocks":["log"]}}
You cannont destroy Dark Oak Logs or Acacia Logs.
In bedrock edition, these blocks are "log2"