473,505 Members | 15,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

EntLib June 2005 Exception Logging

By using the EntLib config tool, we have to set the filepath at design time.
I'm looking for a way to set path of the log file at a variable path because
when i package and deploy my desktop application the trace.log file should
be in the application path.

How can i set a filename as the current date (something like 030305.log). So
a log file created for a particular day can be identified by the date.
Sep 15 '05 #1
1 1377
I have not actually tried this, but could you not just have you application
programtically change the location of the log file in the
loggingconfiguration.config XML file?

--
Scott Hanslip
"tintin" wrote:
By using the EntLib config tool, we have to set the filepath at design time.
I'm looking for a way to set path of the log file at a variable path because
when i package and deploy my desktop application the trace.log file should
be in the application path.

How can i set a filename as the current date (something like 030305.log). So
a log file created for a particular day can be identified by the date.

Sep 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4603
by: Steven | last post by:
I just downloaded the June 2005 release and I want to set up basic logging to log problems such as exceptions. I have created a category named Exceptions with the following: <category...
1
225
by: tintin | last post by:
By using the EntLib config tool, we have to set the filepath at design time. I'm looking for a way to set path of the log file at a variable path because when i package and deploy my desktop...
0
988
by: Heinz | last post by:
Hi all, is this the correct forum for questions regarding enterprise library (June 2005) ? I hope so.... I'm searching for closer information regarding encryption within configuration...
3
2399
by: marmaxx | last post by:
I am currently making the transition from Visual Studio .NET 2003 to Visual Studio 2005, and I am looking for suggestions regarding how to implement an exception logging scheme. In my previous...
0
1061
by: Raymond Roelands | last post by:
It seems that it's not possible to have nested .Net web applications (application in a virtual directory under another asp.net application) having each application it's own configuration for the...
3
2807
by: Mukesh | last post by:
Hi all I have Created an web application using VS 2005, asp.net2.0, Ajax Extensions 1.0, Ent Lib 3.1 , MS sql Server 2005, ajax Control tool kit Version 1.0.10618.0
3
3570
by: rockdale | last post by:
Hi, all: My web application using MS EntLib for .net 2.0 (Jan 2006) to access my backend database. It works fine with MS SQL 2k. Now we are migrate from MS SQL to mySQL. Everything looks fine...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.