473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IS THIS POSSIBLE: Creating a virtual file

Here's the situation:

I have several 3rd party applications that write trace files and log
files. We are now being mandated to "scrub" the trace files and log
files in realtime. "scrub" = remove sensitive data from trace/log.

We only have the ability to specify the log file location in each of
these various 3rd party applications.

Is it possible to create some sort of "virtual file" that the 3rd party
app writes to that, in reality, is my application, which will scrub the
data and write out the actual log as data arrives?

If so, how and where can I find resources regarding such an endeavor?

I apologize if this should go to another group. E-mail me if you think
this should be cross posted somewhere else.

Thanks,

Dan Coates
df******@gmail.com

Oct 4 '05 #1
3 1336
are you just using file appends to write your log data, or are you using
a logging tool (log4net, Trace namespace?)
df******@gmail.com wrote:
Here's the situation:

I have several 3rd party applications that write trace files and log
files. We are now being mandated to "scrub" the trace files and log
files in realtime. "scrub" = remove sensitive data from trace/log.

We only have the ability to specify the log file location in each of
these various 3rd party applications.

Is it possible to create some sort of "virtual file" that the 3rd party
app writes to that, in reality, is my application, which will scrub the
data and write out the actual log as data arrives?

If so, how and where can I find resources regarding such an endeavor?

I apologize if this should go to another group. E-mail me if you think
this should be cross posted somewhere else.

Thanks,

Dan Coates
df******@gmail.com

Oct 4 '05 #2
I am not sure since the application is 3rd party and I do not have
access to the source code. I will also that this is in a Windows
environment. I realize that there are probably ways around this in
*nix, but that's not an option.

Thanks for the question,

Dan Coates
df******@gmail.com

Oct 5 '05 #3
Hard work IMO.

I would see rather this as something that is configurable in those third
party applications or perhaps if you can "hook up" in the logging process
(such as in ASP.NET 2.0 applications that seems to be "easily" configurable
in this respect).

FileWatcher would allow to trap change events but you would then have to
read the log, stip the info and rewrite the log while the application
continues to write in his log...

Good luck.

--
Patrice
<df******@gmail.com> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
Here's the situation:

I have several 3rd party applications that write trace files and log
files. We are now being mandated to "scrub" the trace files and log
files in realtime. "scrub" = remove sensitive data from trace/log.

We only have the ability to specify the log file location in each of
these various 3rd party applications.

Is it possible to create some sort of "virtual file" that the 3rd party
app writes to that, in reality, is my application, which will scrub the
data and write out the actual log as data arrives?

If so, how and where can I find resources regarding such an endeavor?

I apologize if this should go to another group. E-mail me if you think
this should be cross posted somewhere else.

Thanks,

Dan Coates
df******@gmail.com

Oct 5 '05 #4

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

Similar topics

4
by: Eric | last post by:
Perhaps this question has been posed before (I'd be surprised if it hasn't) but I just gotta know... Is it possible to combine the Singleton and Factory Method design patterns in the same class?...
7
by: Atila Olah | last post by:
I'm working on a project to implement a simple cross-platform file sharing protocol (using Python) that is similar to HTTP, and I have to write a GUI for Windows and Linux. But let's start with the...
3
by: Stelrad Doulton | last post by:
Hi, I am having a strange problem on IIS 6.0. I am trying to create directories under a virtual directory on the fly to which I will upload files and retrieve these files later. I am having 2...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
3
by: dfcoates | last post by:
Here's the situation: I have several 3rd party applications that write trace files and log files. We are now being mandated to "scrub" the trace files and log files in realtime. "scrub" =...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
14
by: fdu.xiaojf | last post by:
Hi, I have a program which will continue to run for several days. When it is running, I can't do anything except waiting because it takes over most of the CUP time. Is it possible that the...
31
by: JoeC | last post by:
I have read books and have ideas on how to create objects. I often create my own projects and programs. They end up getting pretty complex and long. I often use objects in my programs they are...
11
by: Andy Watson | last post by:
I have an application that scans and processes a bunch of text files. The content I'm pulling out and holding in memory is at least 200MB. I'd love to be able to tell the CPython virtual machine...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.