Command: /fill ~-10 ~-10 ~-10 ~10 ~10 ~10 minecraft:log2 14 replace minecraft:log2 0
This produces an unknown error, but it should be an invalid damage value error. minecraft:log2 14 technically exists, but is not a block recognized by the game or commands (Like, you could get that block with MCEdit but not with the /setblock command, similar to things like fire)
Linked issues
Comments

@Tom Udding
Place a few upright acacia logs and try it.

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.
I get this message "No blocks filled" [Minecraft 1.8.2-pre6]