Report question

Question: python logging - how do I truncate the pathname to just the last few characters or just the filename?