removed not used declaration.

fixed log name.