less locking in BufferedLogger