log function fix for SVN funcs