Hello all, I am trying to write a logfile to "c:\documents and settings\<userid>\Temp" on a windows machine. The problem I have is that depending on which machine the program is installed on or who logs in, the <userid> directory will change. For instance, if "jsmith" logs in, his log file should appear in "c:\documents and settings\jsmith\Temp", but if "jdoe" runs the program from his account, the log should appear in "c:\documents and settings\jdoe\Temp". In my log4j.properties file, I don't know how to make this <userid> a variable. I only know how to hardcode it as follows: log4j.appender.R.File=log/whatever.log Can anyone help me? Regards, Sal Gabier Systems Architect TIS2Web - New Development Ph 248-603-4413 Cell 248-425-6985 Affiliated Computer Services
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
