File :external\webkit\source\webcore\config.h
add below at the bottom of the File.
===============================
#undef LOG_TAG
#define LOG_TAG "webcoreglue"
#define MYLOG_STRING "hii"
#define zLOG(format...) __android_log_print(6, LOG_TAG, "%s@%s " format, __FUNCTION__, __FILE__)
#include <utils/Log.h>
===============================
in *.cpp add
zLOG(MYLOG_STRING) ;