Sorry for my English.
Hello, im beginer in programing. I need write a program (windows service) which should transfer my log from many files (.log) to SQL date base.
I have folder where i keep my files (.log) and i need transfer data from this files to SQL for each day at 3am.
The first line of the file contains column headers and looks:
WebServiceName;CalledFunctionName;StartTime;EndTime;ErrorMessage
ss;GetAllCustomers;21/08/2013 05:59:38;21/08/2013 05:59:38;;
ss;GetAllCustomers;21/08/2013 06:03:12;21/08/2013 06:03:12;;
ss;GetAllCustomers;21/08/2013 07:12:32;21/08/2013 07:12:33;;
Each subsequent row is one record that describes one event.
Database parameters:
Server = aaa
Base = bbb
User = ccc
Password = ddd
Table = eee
These parameters should also be available outside service'a code.
Thx for help.
Hello, im beginer in programing. I need write a program (windows service) which should transfer my log from many files (.log) to SQL date base.
I have folder where i keep my files (.log) and i need transfer data from this files to SQL for each day at 3am.
The first line of the file contains column headers and looks:
WebServiceName;CalledFunctionName;StartTime;EndTime;ErrorMessage
ss;GetAllCustomers;21/08/2013 05:59:38;21/08/2013 05:59:38;;
ss;GetAllCustomers;21/08/2013 06:03:12;21/08/2013 06:03:12;;
ss;GetAllCustomers;21/08/2013 07:12:32;21/08/2013 07:12:33;;
Each subsequent row is one record that describes one event.
Database parameters:
Server = aaa
Base = bbb
User = ccc
Password = ddd
Table = eee
These parameters should also be available outside service'a code.
Thx for help.