From 581fd7101763af09e58fc322574ce995e87b8c20 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Wed, 31 Aug 2011 10:38:15 +0000 Subject: [PATCH] 2011-08-31 Juan Manuel Ramon Vigo * unix/plugins/grep_log shellscript/linux/plugins/grep_log: Changed parse_log function in order to retrieve token correctly. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 6 ++++++ pandora_agents/shellscript/linux/plugins/grep_log | 2 +- pandora_agents/unix/plugins/grep_log | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 6707dd6206..8d09d0c783 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,9 @@ +2011-08-31 Juan Manuel Ramon Vigo + + * unix/plugins/grep_log + shellscript/linux/plugins/grep_log: Changed parse_log + function in order to retrieve token correctly. + 2011-08-22 Sergio Martin * win32/bin/PandoraAgent.exe: Updated the executable diff --git a/pandora_agents/shellscript/linux/plugins/grep_log b/pandora_agents/shellscript/linux/plugins/grep_log index 2e46fbbdac..2a5aa86a95 100755 --- a/pandora_agents/shellscript/linux/plugins/grep_log +++ b/pandora_agents/shellscript/linux/plugins/grep_log @@ -169,7 +169,7 @@ sub parse_log () { $!); # Go to starting position - seek(LOGFILE, $Idx_pos, 0); + seek(LOGFILE, 0, 0); print (stdout "\n"); print (stdout "\n"); diff --git a/pandora_agents/unix/plugins/grep_log b/pandora_agents/unix/plugins/grep_log index 2e46fbbdac..2a5aa86a95 100755 --- a/pandora_agents/unix/plugins/grep_log +++ b/pandora_agents/unix/plugins/grep_log @@ -169,7 +169,7 @@ sub parse_log () { $!); # Go to starting position - seek(LOGFILE, $Idx_pos, 0); + seek(LOGFILE, 0, 0); print (stdout "\n"); print (stdout "\n");