Minecraft wiki entry for Clock, associated text: To prevent the destroyed blocks from dropping items use /gamerule doTileDrops false. To prevent the clock from spamming the chat use /gamerule commandBlockOutput false. To prevent the clock from spamming the server log use /gamerule logAdminCommands false.