change to log function

Signed-off-by: Christopher Hall <hsw@openmoko.com>