base library and file log