fix denied file having undefined as extension
change log GET route to handle any extension with 3 or 4 chars