R
Rhino
Does anyone know how I could interrogate an existing FileHandler object to
determine the name of the file that it is using to write its log?
I am showing some error information in a dialog but I'd like to be able to
add a footnote to the GUI that says something like "For more details, you or
your system administrator should look in the log at c:\mypath\Error.log."
The only problem is that I don't see any way in the API to ask the
FileHandler what the file name is. FileHandler uses a String that contains
the log file name as its main parameter but, once created, I don't see
anything in FileHandler, Handler or other logging classes that gets the file
name used by the FileHandler. I *could* make the file name used to create
the FileHandler a variable and then interrogate that variable but I'd rather
just ask the FileHandler itself.
Does anyone have any idea how I can do that?
determine the name of the file that it is using to write its log?
I am showing some error information in a dialog but I'd like to be able to
add a footnote to the GUI that says something like "For more details, you or
your system administrator should look in the log at c:\mypath\Error.log."
The only problem is that I don't see any way in the API to ask the
FileHandler what the file name is. FileHandler uses a String that contains
the log file name as its main parameter but, once created, I don't see
anything in FileHandler, Handler or other logging classes that gets the file
name used by the FileHandler. I *could* make the file name used to create
the FileHandler a variable and then interrogate that variable but I'd rather
just ask the FileHandler itself.
Does anyone have any idea how I can do that?