YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Is there a way to flush messages in the pimsg log? Options · View
straighteight
#1 Posted : Tuesday, November 30, 2010 2:27:24 PM
Rank: Newbie
Groups: Member

Joined: 3/29/2010
Posts: 3
Location: UK
I am wondering if anyone knows of a way of cleaning up the pi message (.dat) files? We had an incident where one error multiple times leading to a dat file of 8gb. The error is irrelevant now but we need this disk space back, however we don't want to simply remove this file as there were other errors in this log which we would like to keep live for the time being. Can we purge these logs in any way? When I run the pigetmsg comman I do see a [F]lush option, but I can't find any documentation on what this actually means! Many thanks.
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
RJK Solutions
#2 Posted : Tuesday, November 30, 2010 11:03:43 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
Hello,

I think this one sounds like an OSIsoft TechSupport call, I can only presume they have a utility for this.
pigetmsg, pi-api and PISDK only provide read-only access to the server's messagelog object.

Let us know how you get on in case there is an undocumented method to do this...good luck!
Principal Consultant
Real-Time Data Management @ Wipro Technologies
straighteight
#3 Posted : Thursday, December 02, 2010 1:34:02 PM
Rank: Newbie
Groups: Member

Joined: 3/29/2010
Posts: 3
Location: UK
No dice unfortunately! However they have mentioned that being able to control excessive duplicate entries in the message log is on the drawing board for 3.5!
RJK Solutions
#4 Posted : Thursday, December 02, 2010 1:44:03 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
OK, thanks for the update.
It is strange that it is not already within the core PI system as with some interfaces like PI-UFL, repeated message are already filtered out. You see "This message was repeated xxxxx times.".

Principal Consultant
Real-Time Data Management @ Wipro Technologies
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.