Last post Jun 23, 2011 09:56 PM by Fitmation
Jun 20, 2011 09:40 PM|Fitmation|LINK
Logging Setting -> Loginng Target Listeners -> Log Name D:\TraceOutput.log
System.Diagnostics.Trace.Write(DateTime.Now.ToString("dd/MM/yyyy") + " " + Login_TextBox.Text + " Login");
when user login, i can not see any file written in d: drive directory. Anything missing?
Jun 20, 2011 11:25 PM|suresh_g_v2002|LINK
Check whether the aspnet user has full permissions to write.., and check eventlog to see whether workerprocess loggging any errors...
Also check whether tracing is enabled for ur page..
Eg: <%@ Page Trace="true" %>
Jun 20, 2011 11:54 PM|Fitmation|LINK
I mean enterprise library's log
paga trace="true" will show trace information at the bottom of page. but i do not need to show this information
i just want to write something into log file
And it is a development machine in xp, no permission problem
Jun 23, 2011 09:56 PM|Fitmation|LINK
i find flat file writer in configuration, solved.