Green logs are created by using a green firelighter (obtainable from completing any clue scroll) on some normal logs. The raw materials for this process cost 854 coins.
When these logs are burned, they create a green fire. This action awards 50 Firemaking experience, 10 more experience than lighting regular logs. When green logs are added to any bonfire, the colour of the flame will change green.
Green logs can be added to the Odd Old Man's pot boiler, but the resulting fire will be normal, and your logs will be lost, so this is not recommended.