static URI encodeLogFileLocation ( UfsJournal journal , long start , long end ) { String filename = String . format ( "0x%x-0x%x" , start , end ) ; URI location = URIUtils . appendPathOrDie ( journal . getLogDir ( ) , filename ) ; return location ; }
Encodes a log location under the log directory .