Log as foreign table