logs works