Algorithms are basically sequences of instructions to solve a problem or to perform a calculation. A logarithm is a specific mathematical concept. For more information on each, look at the sites listed below:
Algorithms: http://en.wikipedia.org/wiki/Algorithm
Logarithms: http://en.wikipedia.org/wiki/Logarithm