**
I can only imagine there is but not being very familiar with the .Net API I can't give you tried and true advice. 
 
L. J. Head
Software Engineer
Remedy Approved Consultant
 


From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Heider, Stephen
Sent: Tuesday, September 12, 2006 1:59 PM
To: [email protected]
Subject: Re: OT: Remedy Log Files - Reset Pointer

**
 
Yes, thank you. It is a nice tool to toggle logging.  I plan to use it for my regular toggling.
 
I am presently trying to perform updates via the .Net API, primarily because I want the logging to be toggled off for a little time as possible - so as not to miss any logging taking place.   Within VB.Net I can toggle off, then on in two lines of code.  I think this is probably the quickest I can toggle off/on.
 
The "Configuration ARDBC" form is a vendor form.  I have not been able to update it.  GetListSQL doesn't work because the form does not have a SQL View or SQL Table.   GetListEntryWithFields should work but I only receive the error "QueryInterface for interface ATLWRAPPERSLib.IStatusList failed". 
 
Is it possible to update a vendor form via the .Net API?
 
Stephen
 


From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of L. J. Head
Sent: Tuesday, September 12, 2006 3:07 PM
To: [email protected]
Subject: Re: OT: Remedy Log Files - Reset Pointer

**
Did you get the post I made that included the little form I built that can do just that?
 

L. J. Head
Software Engineer
Remedy Approved Consultant

 


From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Jason Miller
Sent: Tuesday, September 12, 2006 12:55 PM
To: [email protected]
Subject: Re: OT: Remedy Log Files - Reset Pointer

** I have a similar situation where we have been working on a Perl parser for aruser.log that does some cleanup and creates a csv file to be imported into a form for stats. Ultimately I would love to automate the whole process of parsing the file and starting a new one after the csv file is created (automating the import of the csv is easy enough). The problem is that if you rename the file without turning off the logging from the admin tool (haven't tried clearing out the file but I suspect the result would be x lines of null like Stephen) the app is still holding on to the file and keeps writing to it with the new name.

Is there a way to turn off/on logging or rename the log file via ARS other then the admin tool?

RH ES3
ARS 6.3 patch 5

Jason

On 9/12/06, Carey Matthew Black <[EMAIL PROTECTED]> wrote:
Stephen,

How about you first tell the ARS server to use a different log file
name then grab the old file and load it up?

( It should work with any file other than arerror.log. Not sure that
name can be changed.)

--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.


On 9/12/06, Heider, Stephen <[EMAIL PROTECTED]> wrote:
> List,
>
> I just wrote a program that imports the ARS log files (actually, any
> text file) into a form.  It works fine and clears out the log files each
> time it's run.  ARS evidently remembers the last byte offset of each log
> file - instead of simply appending text to the end of the log file.
>
> When ARS adds a new line to the file it starts writing at the last byte
> offset (end of the file).  Here is what happens:
>
> 1. Log file has 60KB of entries.
> 2. Program is run and imports all entries in the log file into a Remedy
> form.
> 3. Log file size is 0KB.
> 4. ARS adds a new line to the log file.
> 5. Log file size is now 61KB.  The first 60KB of the file is filled with
> Nulls.
>
> I tried running arsignal with different parameters.  I realize that
> restarting the Remedy NT service will reset its internal byte offset
> counter, but that is not practical in a production environment.
>
> How can the byte offset of a log file be reset?   Thanks.
>
> ARS 6.3
> Windows Server 2003
>
>
> Stephen

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

__20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___

Reply via email to