how to create log file and to log data upto level of max 2mb next to generate new file by using c#
<p>trying to create log file in my window service application,to log information,error's as well,so each file has to log the data up to 2 mb max soon after it was finished it should create new log file in the same path,by over writing a file name of appending timestamp and start log into new file,can any one please suggest on the same</p>
