if you want your log file to be place at a specified location which will be decided at run time may be your project output directory then you can configure your .config file entry in that way
and then in the code before calling log4net configure, set the new path like below