Redirect log4net log in the User Directory

前端 未结 3 1042
轻奢々
轻奢々 2021-02-07 07:55

I have a program that uses log4net. It logs directly in the exe folder.

Now, when passing to station with Windows > XP (Vista, Seven) I observed that the logs are not a

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-07 08:18

    Example of config.xml:

    
        
        
        
        
        
        
        
        
            

    remark the ${USERPROFILE} environment variable.

提交回复
热议问题