logging EOF