log_path function gets the path to the currently
opened log. This function may be useful when you want to manipulate
the log in some way, and need the path. The function takes no parameters.
The full path to the currently opened log, or NULL if no log is open.