fix logger seconds